RE: int to string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please accept my apologies... I only scanned then reread and spotted the
obvious (deliberate) omissions

It is late here :)

Sorry

Dan

 
-------------------
http://chrome.me.uk
 

-----Original Message-----
From: Peter Hoskin [mailto:peterh@xxxxxxxxxx] 
Sent: 06 April 2006 01:06
To: Chrome; php-general@xxxxxxxxxxxxx
Subject: Re:  int to string



Chrome wrote:
> Won't work
>
> 20 would become 'two zero' not 'twenty' as the for loop identifies 1
> character at a time
>
> Don't have any suggestions... Just critisms :-D... hehe sorry
>   
You don't say... it won't even convert 2 to 'two' so obviously this is 
an EXAMPLE and not a COMPLETE SOLUTION.

Want a complete solution? $88 AUD/hr.

Want to criticize? look at the for loop, its infinite. $i isn't set, the 
first call to it should actually be $i = 0

Regards,
Peter Hoskin

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


__________ NOD32 1.1474 (20060405) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux