http://www.phpguru.org/TextualNumberExample.php?number=3450
Regards.
Salu2
On 10/29/05, Linda H [EMAIL PROTECTED] wrote:
Hi,
Does anyone know of a function for translating a decimal number into an
English number. In other words, if you pass it 1 it will return 'one', if
you pass it 127 it
Hi,
Does anyone know of a function for translating a decimal number into an
English number. In other words, if you pass it 1 it will return 'one', if
you pass it 127 it will return 'one hundred twenty seven', and etc.
Thanks,
Linda
--
PHP General Mailing List (http://www.php.net/)
To
I couldn't find one out there Linda (and I'm sure I've seen them before) so
since I'm stuck at work on a Saturday I thought I'd take a break and see if I
could hack this out myself.
Probably a more elegant way to do this, but here's what I came up with. Feel
free to use and modify it at will.
On Sat, 2005-10-29 at 12:13 -0700, Linda H wrote:
Does anyone know of a function for translating a decimal number into an
English number. In other words, if you pass it 1 it will return 'one', if
you pass it 127 it will return 'one hundred twenty seven', and etc.
4 matches
Mail list logo