Login   Register  
PHP Classes
elePHPant
Icontem

In words: Spell a number in English words

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-09-07 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 181 All time: 7,276 This week: 1,885Up
Version License PHP version Categories  
in-words 1Artistic License4.0Text processing
Description Author  

This class can be used to spell a number in English words.

It takes a string with a number with up to 21 digits and returns a string that spells the number using English words.

It also spells out the decimal digits.

Picture of Ronald Lukwago
Name: Ronald Lukwago <contact>
Classes: 1 package by
Country: Uganda Uganda
Age: 29
All time rank: 36201 in Uganda Uganda
Week rank: 1863 Up1 in Uganda Uganda Equal

  Files folder image Files  
File Role Description
Plain text file in_words_class.php Class Prints any positive integer in words

 Version Control Unique User Downloads Download Rankings  
 0%Total:181All time:7,276
 This week:0This week:1,885Up
 User Comments (2)  
 
Amazing.
4 years ago (Ilyas Kazi)
55%StarStarStar
Could be greatly improved by putting the words in class const...
4 years ago (Jonathan Dequeker)
55%StarStarStar