Cardinal number output

Stephen Kloder stephenk at cc.gatech.edu
Fri Sep 8 14:04:45 CEST 2000


Greg Fortune wrote:

> Anyone know of a module or utility function to accept an int and convert
> it to the cardinal number representation?  For example, is there
> anything that will convert ints to a format suitable to printing on a
> check?
>

I doubt such modules exist, but that function isn't very hard to construct.
I've written integer-to-words modules in Python with about 40 lines of code.

--
Stephen Kloder               |   "I say what it occurs to me to say.
stephenk at cc.gatech.edu       |      More I cannot say."
Phone 404-874-6584           |   -- The Man in the Shack
ICQ #65153895                |            be :- think.





More information about the Python-list mailing list