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 = "Five" or 20 = "Twenty"
>
> If you wanted a full solution (well maybe, I didn't read it closely) I'd
> search google and take the second link.
>
> http://www.google.com/search?q=convert+number+to+words
This might be more useful, and it may even already be installed on your
system:
http://pear.php.net/package-info.php?package=Numbers_Words
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php