php-numbers-words

PEAR module providing methods for spelling numerals in words

Description

With Numbers_Words class you can convert numbers written in arabic digits to words in several languages. You can convert an integer between -infinity and infinity. If your system does not support such long numbers you can call Numbers_Words::toWords() with just a string.

With the Numbers_Words::toCurrency($num, $locale, 'USD') method you can convert a number (decimal and fraction part) to words with currency name.

The following languages are supported:
 * bg (Bulgarian) by Kouber Saparev
 * cs (Czech) by Petr 'PePa' Pavel
 * de (German) by Piotr Klaban
 * dk (Danish) by Jesper Veggerby
 * en_100 (Donald Knuth system, English) by Piotr Klaban
 * en_GB (British English) by Piotr Klaban
 * en_IN (Indian English) by Piotr Klaban
 * en_US (American English) by Piotr Klaban
 * es (Spanish Castellano) by Xavier Noguer
 * es_AR (Argentinian Spanish) by Martin Marrese
 * es_MX (Mexican Spanish) by Martin Marrese and Pavel Oropeza
 * es_VE (Venezuelan Spanish) by Martin Marrese and Pavel Oropeza
 * et (Estonian) by Erkki Saarniit
 * fr (French) by Kouber Saparev
 * fr_BE (French Belgium) by Kouber Saparev and Philippe Bajoit
 * he (Hebrew) by Hadar Porat
 * hu_HU (Hungarian) by Nils Homp
 * id (Indonesian) by Ernas M. Jamil and Arif Rifai Dwiyanto
 * it_IT (Italian) by Filippo Beltramini and Davide Caironi
 * lt (Lithuanian) by Laurynas Butkus
 * lv (Latvian) by Andrius Virbicianskas
 * nl (Dutch) by WHAM van Dinter
 * pl (Polish) by Piotr Klaban
 * pt_BR (Brazilian Portuguese) by Igor Feghali
 * ro_RO (Romanian) by Bogdan Stancescu
 * ru (Russian) by Andrey Demenev
 * sv (Swedish) by Robin Ericsson
 * tr_TR (Turkish) by Shahriyar Imanov
 * ua (Ukrainian) by Andrey Demenev and Vital Leshchyk

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

http://pear.php.net/package/Numbers_Words/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install php-numbers-words