Re: int to string

From: Date: Thu, 06 Apr 2006 00:06:00 +0000
Subject: Re: int to string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-233310@lists.php.net to get a copy of this message
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

« previous php.general (#233310) next »