Login   Register  
PHP Classes
elePHPant
Icontem

Numbers2words

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

  Author  
Picture of Bas Jobsen
Name: Bas Jobsen <e-mail contact>
Packages: 9 Browse all classes by Bas Jobsen Browse all classes by
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Age: 36
All time rank: 2235 in The Netherlands The Netherlands
Week rank: 682 Down21 in The Netherlands The Netherlands Down


  Detailed description   Download .zip .tar.gz  
Converts numbers to words.

Numbers range from 0 to 999.999.999.999.999

Note: argument to n2w is a string. Use strings for big number (usually bigger then 2^32) see example.php

For british (GB) numbers call with a optional second argument = 1.

British (GB)
n2w('1000000000',1) gives "one milliard"
n2w('1000000000000',1) gives "one billion"

American (US/FR)
n2w('1000000000') gives "one billion"
n2w('1000000000000') gives "one trillion"

  Classes of Bas Jobsen  >  Numbers2words  >  Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Numbers2words
Base name: numbers2words
Description: Converts numbers to words (UK and US/FR)
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1090 users
All time rank: 2993
Week users: 0 users
Week rank: 2036 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
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 (81.2%)
Sufficient (62.5%)
-
Sufficient (62.5%)
-
-
Not sure (53.1%)
1330
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.
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Accessible without login Plain text file licence.txt Lic. licence
Plain text file numbers2words.php Class numbers2words

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