convert currency to words

David K. Trudgett dkt at registriesltd.com.au
Thu Jan 2 00:00:17 CET 2003


On Tuesday 2002-12-31 at 20:14:25 -0800, Erik Max Francis wrote:

> Laura Creighton wrote:
> 
> > 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?
> 
> The way I learned my numbers, there shouldn't be an _and_ there at all. 
> _And_, we were told over and over again, was only for indicating the
> decimal point.  So 123 456 789 should be "one-hundred twenty-three
> million, four-hundred fifty-six thousand, seven-hundred eighty-nine." 
> 12.34 should be "twelve and thirty-four hundredths."
> 
> Different generations, I suppose, got taught different things, though.

Perhaps you need to consider that you're discussing how only one small
part of the world does it (i.e., USA). In other parts of the world,
"345.23", for example, is "three hundred and forty five point two
three".

David Trudgett







More information about the Python-list mailing list