Login   Register  
PHP Classes
elePHPant
Icontem

Words To Numbers: Convert a string of English words to numbers

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

  Author Author  
Picture of Muhammad Arfeen
Name: Muhammad Arfeen is available for providing paid consulting. Contact Muhammad Arfeen .
Classes: 7 packages by
Country: Pakistan Pakistan
Age: 37
All time rank: 4824 in Pakistan Pakistan
Week rank: 926 Down18 in Pakistan Pakistan Down
Innovation award
Innovation award
Nominee: 3x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz  
This class convert a string of English words to numbers.

It can parse a string with words that spells a numeric value in English and retrieve the number that it represents.

Currently it convert strings that represent a number smaller than one thousand millions.

  Classes of Muhammad Arfeen  >  Words To Numbers  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Words To Numbers
Base name: word-to-number
Description: Convert a string of English words to numbers
Version: 1.0
PHP version: 4.0
License: GNU General Public License (GPL)
All time users: 416 users
All time rank: 5808
Week users: 0 users
Week rank: 1311 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
August 2011
Number 10
Some applications, in particular those that deal with documents that represent monetary values, need to spell a given amount in words of a given idiom.

This class can be used to do the opposite, i.e. take a string with English words that represent a number and parse it to determine what is the original value amount.

Manuel Lemos

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file wordtonumber.class.php Class Class File
Plain text file example.php Example example script

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