Login   Register  
PHP Classes
elePHPant
Icontem

SpellOutNumbers

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of DrDoc
Name: DrDoc <e-mail contact>
Packages: 1 Browse all classes by DrDoc Browse all classes by
Country: United States United States - PHP jobs in United States
Age: ???
All time rank: 2284287 in United States United States
Week rank: 2045 Up246 in United States United States Up


  Detailed description   Download .zip .tar.gz  
This is a tweaked and extended version of the "numbers2words" class.

The original class contained a couple of spelling errors ("fourty" and "eightteen"). It also added "and" too often ("two thousand and three hundred and twelve" instead of "two thousand three hundred and twelve"). Furthermore, it didn't hyphenate certain numbers ("twenty one" instead of "twenty-one").

Two options have been added:

• You can choose whether you want ordinal suffixes added ("one" vs. "first")

• You can choose whether you want the string capitalized ("two thousand and three" vs. "Two Thousand and Three")

  Classes of DrDoc  >  SpellOutNumbers  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SpellOutNumbers
Base name: spelloutnumbers
Description: Convert numbers to text, w/ or w/o ordinal suffix.
Version: -
PHP version: -
License: Free for non-commercial use
All time users: 769 users
All time rank: 3835
Week users: 0 users
Week rank: 2222 Equal
 
  Groups   Rate classes User ratings   Applications   Related links   Files Files  

  Groups  
Group folder image Localization Internationalization and translations View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (91.7%)
Good (83.3%)
Sufficient (75.0%)
-
-
-
Sufficient (61.7%)
721
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
numbers2words Original class
Webmaster World The class first posted here

  Files folder image Files  
File Role Description
Plain text file results.txt Output Examples
Accessible without login Plain text file spelloutnumbers.php Class The class itself
Plain text file syntax.txt Doc. Usage description

Download all files: spelloutnumbers.tar.gz spelloutnumbers.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.