PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 49%Total: 642 This week: 1All time: 4,970 This week: 560Up
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
Age: 71
All time rank: 25512 in Uruguay Uruguay
Week rank: 411 Up1 in Uruguay Uruguay Up
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:642
This week:1
All time:4,970
This week:560Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:2703