New class proposal: Numbers_Spell
| From: | Piotr Klaban | Date: | Fri, 15 Nov 2002 15:06:21 +0000 |
| Subject: | New class proposal: Numbers_Spell | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-10844@lists.php.net to get a copy of this message | ||
Hi,
I have made a class that converts an integer number to words in:
- American English
- Britich English
- Polish
- .. more can be easily added
The code is now packaged into:
http://www.klaban.torun.pl/prog/Numbers_Spell/Numbers_Spell-0.1.tgz
Install with 'pear install Numbers_Spell-0.1.tgz'
There are also test files located at http://www.klaban.torun.pl/prog/Numbers_Spell/
You can test the interface with e.g.:
http://www.klaban.torun.pl/prog/Numbers_Spell/test.php?num=11111
I am thinking about putting it as Numbers/Spell
Any votes ?
--
Piotr Klaban