PHP Classes
elePHPant
Icontem

In words: Spell a number in English words

Recommend this page to a friend!
  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 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 183 All time: 7,925 This week: 1,152Up
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: 32
All time rank: 38621 in Uganda Uganda
Week rank: 1353 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:183
This week:0
All time:7,925
This week:1,152Up
User Comments (2)
Amazing.
6 years ago (Ilyas Kazi)
55%StarStarStar
Could be greatly improved by putting the words in class const...
6 years ago (Jonathan Dequeker)
55%StarStarStar