|
|
@@ -471,9 +471,9 @@ def in_words(integer, in_million=True): |
|
|
|
bestguess, remainder = str(n), 0 |
|
|
|
|
|
|
|
if n<=20: |
|
|
|
webnotes.msgprint(sys.stderr) |
|
|
|
webnotes.msgprint(n) |
|
|
|
webnotes.msgprint("How did this happen?") |
|
|
|
webnotes.errprint(sys.stderr) |
|
|
|
webnotes.errprint(n) |
|
|
|
webnotes.errprint("How did this happen?") |
|
|
|
assert 0 |
|
|
|
elif n < 100: |
|
|
|
bestguess= xpsn((n//10)*10, known, xpsn) + '-' + xpsn(n%10, known, xpsn) |
|
|
@@ -513,7 +513,6 @@ def in_words(integer, in_million=True): |
|
|
|
|
|
|
|
return psn(n, known, psn) |
|
|
|
|
|
|
|
|
|
|
|
# Get Defaults |
|
|
|
# ============================================================================== |
|
|
|
|
|
|
|