Re[4]: [PHP] numeric to word function

2002-09-18 Thread Tom Rogers
Hi, Thursday, September 19, 2002, 5:29:06 AM, you wrote: BY> What does this do? Here is the class again with all errors fixed and some unfinished bits but it should be enough to get you started. It uses recursion as it repeats after one thousand .. ie one, two, three one thousand, two thous

Re[2]: [PHP] numeric to word function

2002-09-13 Thread Tom Rogers
Hi,needs 1 more change Friday, September 13, 2002, 6:26:10 PM, you wrote: TR> else{ TR> $res = $res%10; TR> if($res > 0){ TR> ($left == 0)? $and = '':$and = ' and '; TR>

Re: [PHP] numeric to word function

2002-09-13 Thread Tom Rogers
Hi, Friday, September 13, 2002, 12:37:41 AM, you wrote: rhc> Hi.. rhc> anyone know any function to convert numeric values to word.. rhc> something like this: 1252 -->> one thousand two hundred and fifty two rhc> Thanks... Here it is without the typo :) class num_to_text { var $mode;

Re: [PHP] numeric to word function

2002-09-13 Thread Tom Rogers
Hi, Friday, September 13, 2002, 12:37:41 AM, you wrote: rhc> Hi.. rhc> anyone know any function to convert numeric values to word.. rhc> something like this: 1252 -->> one thousand two hundred and fifty two rhc> Thanks... Here is a class that will get you started :) class num_to_text {

[PHP] numeric to word function

2002-09-12 Thread rainydays_sunshine
Hi.. anyone know any function to convert numeric values to word.. something like this: 1252 --> one thousand two hundred and fifty two Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php