Convert Numbers --> Words [SOLVED]

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Convert Numbers --> Words [SOLVED]

Post by tecktalkcm0391 »

Is there a way to convert the number value that $number has to the word value...

Example:

Code: Select all

$number = 2;
//Do something to convert it 
//Now :
$number = 'Two';
Last edited by tecktalkcm0391 on Mon Jun 12, 2006 1:24 pm, edited 1 time in total.
litebearer
Forum Contributor
Posts: 194
Joined: Sat Mar 27, 2004 5:54 am

Post by litebearer »

User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

thanks!
Post Reply