At 10:50 PM -0400 4/6/06, sgsweb wrote:
Hi Tanner,
Here's a completely working piece of code that I got from my hosting
company. This looks like it does exactly what you want to do. I am
also including the output in the bottom of this e-mail.
sunil.
Was that for php 5? I couldn't get it
Hi Tanner,
Here's a completely working piece of code that I got from my hosting
company. This looks like it does exactly what you want to do. I am
also including the output in the bottom of this e-mail.
sunil.
output: one thousand one
** Written By: Websulting (www dot websulting dot com)
At 4:27 PM -0700 4/5/06, Tanner Postert wrote:
I don't think it's built in, so I was wondering ya'll would recommend as the
best way to convert int to string, not basic type casting, but converting to
the english word the int represents.
Something like this:
5 = "Five" or 20 = "Twenty"
Tanner
This one time, at band camp, Peter Hoskin <[EMAIL PROTECTED]> wrote:
> Want a complete solution? $88 AUD/hr.
Or simply use this function...
http://phpro.org/examples/Numbers-to-Words.html
and my rates are only $85 AUD/hr ;)
Kevin
--
"Democracy is two wolves and a lamb voting on what to have
err, that should be
http://phpro.org/examples/Convert-Numbers-to-Words.html
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
On Wed, 2006-04-05 at 21:27, Philip Hallstrom wrote:
> > I don't think it's built in, so I was wondering ya'll would recommend as the
> > best way to convert int to string, not basic type casting, but converting to
> > the english word the int represents.
> >
> > Something like this:
> >
> > 5 = "F
I don't think it's built in, so I was wondering ya'll would recommend as the
best way to convert int to string, not basic type casting, but converting to
the english word the int represents.
Something like this:
5 = "Five" or 20 = "Twenty"
If you wanted a full solution (well maybe, I didn't re
On Wednesday 05 April 2006 16:47, Peter Hoskin wrote:
> Tanner Postert wrote:
> > I don't think it's built in, so I was wondering ya'll would recommend as
> > the best way to convert int to string, not basic type casting, but
> > converting to the english word the int represents.
> >
> > Something
-general@lists.php.net
Subject: Re: [PHP] 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
>
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.
to:[EMAIL PROTECTED]
Sent: 06 April 2006 00:47
To: Tanner Postert; php-general@lists.php.net
Subject: Re: [PHP] int to string
Tanner Postert wrote:
> I don't think it's built in, so I was wondering ya'll would recommend as
the
> best way to convert int to string, not basic typ
Tanner Postert wrote:
I don't think it's built in, so I was wondering ya'll would recommend as the
best way to convert int to string, not basic type casting, but converting to
the english word the int represents.
Something like this:
5 = "Five" or 20 = "Twenty"
You're right - its not built
12 matches
Mail list logo