convert currency to words

Charles Krug charles at pentek.com
Tue Dec 31 10:43:52 EST 2002


On Tue, 31 Dec 2002 15:04:34 +0100, Laura Creighton <lac at strakt.com> wrote:
> 
>> <URL: http://wiki.tcl.tk/591 > solves this problem.
>> Translation from the Tcl in which it's expressed to
>> Python is straightforward.
>> -- 
>> 
>> Cameron Laird <Cameron at Lairds.com>
>> Business:  http://www.Phaseit.net
>> Personal:  http://phaseit.net/claird/home.html
>> -- 
>> http://mail.python.org/mailman/listinfo/python-list
> 
> But  <snip> ...five hundred sixty-seven and quintillion,  ... <snip>
> should be 'five hundred and sixty-seven quintillion', no?  Is there a
> bug in the code or the pasting of the answer?
> 

American practice is for "and" to go at the decimal point.

It's certainly easier to program that way.





More information about the Python-list mailing list