PHP Classes
elePHPant
Icontem

Numtoword: Spell money amounts using words in multiple idioms

Recommend this page to a friend!
  Info   View files View files (8)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-07-19 (11 years ago) RSS 2.0 feedStarStarStar 49%Total: 632 All time: 4,804 This week: 1,153Up
Version License Categories
spellnum 1.0GNU General Publi...Localization, Text processing
Description Author

This class can spell a number returning its textual representation.

It can spell integer and decimal amount values.

It supports spelling ammounts in multiple idioms: English, Spanish, French, Italian, German and Brazilian Portuguese.

Innovation Award
PHP Programming Innovation award nominee
July 2005
Number 6
Certain types of applications need to generate documents on which it is necessary to spell money amounts.

There are many solutions for this problem but most of them are specific for certain idioms.

This class provides a generalized solution that is capable of spelling money amounts in multiple idioms.

Manuel Lemos
Picture of Jose Giambruno
Name: Jose Giambruno <contact>
Classes: 2 packages by
Country: Uruguay Uruguay
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example sample for this class
Plain text file numtoword.php Class the class
Accessible without login Plain text file words_de.txt Data Germany language
Accessible without login Plain text file words_en.txt Data English language
Accessible without login Plain text file words_fr.txt Data France language
Accessible without login Plain text file words_it.txt Data Italian language
Accessible without login Plain text file words_pt.txt Data Portuguese language
Accessible without login Plain text file words_sp.txt Data spanish language

 Version Control Unique User Downloads Download Rankings  
 0%
Total:632
This week:0
All time:4,804
This week:1,153Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2092