PHP Classes
Icontem

Class: SpellOutNumbers


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of DrDoc  >  SpellOutNumbers  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: SpellOutNumbers Support forum
Base name: spelloutnumbers
Description: Convert numbers to text, w/ or w/o ordinal suffix.
Version: -
Required PHP version: -
License: Free for non-commercial use
All time users: 722 users
All time rank: 3045
Week users: 0 users
Week rank: 3294
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of DrDoc
Name: DrDoc <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Home page: ???
Age: ???
All time rank: 1770
Week rank: 1840

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

Detailed description

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")

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%)
588
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

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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products