PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 186 All time: 8,572 This week: 339Up
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: 38
All time rank: 41511 in Uganda Uganda
Week rank: 558 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:186
This week:0
All time:8,572
This week:339Up
User Comments (2)
Amazing.
12 years ago (Ilyas Kazi)
55%StarStarStar
Could be greatly improved by putting the words in class const...
12 years ago (Jonathan Dequeker)
55%StarStarStar
 
For more information send a message to info at phpclasses dot org.