webchalkboard has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I need to write a script that will turn numbers, i.e. 28.46 into words, i.e. twenty eight fourty six.
This is for cheque writing, so even better would be twenty eight pounds fourty six pence.
Does anyone know of a Perl function that currently exists for doing this? Or am I going to have to resort to lots of switch statements!
Thanks,
Tom
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Changing numbers into words
by Samy_rio (Vicar) on Apr 06, 2006 at 11:20 UTC | |
by ikegami (Patriarch) on Apr 06, 2006 at 17:48 UTC | |
|
Re: Changing numbers into words
by marto (Cardinal) on Apr 06, 2006 at 11:16 UTC | |
|
Re: Changing numbers into words
by displeaser (Hermit) on Apr 06, 2006 at 16:11 UTC | |
|
Re: Changing numbers into words
by webchalkboard (Scribe) on Apr 06, 2006 at 14:05 UTC | |
|
Re: Changing numbers into words
by TedPride (Priest) on Apr 06, 2006 at 21:39 UTC | |
|
Re: Changing numbers into words
by Ido (Hermit) on Apr 06, 2006 at 16:23 UTC |