PHP Classes

In words: Spell a number in English words

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 181 All time: 7,623 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: 30
All time rank: 37551 in Uganda Uganda
Week rank: 1490 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,623
 This week:0This week:1,885Up
 User Comments (2)  
5 years ago (Ilyas Kazi)
Could be greatly improved by putting the words in class const...
5 years ago (Jonathan Dequeker)