[ANNOUNCEMENT] Numbers_Words-0.18.2 (beta) Released.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[ANNOUNCEMENT] Numbers_Words-0.18.2 (beta) Released.

PEAR Announce
The new PEAR package Numbers_Words-0.18.2 (beta) has been released at http://pear.php.net/.

Release notes
* PR #32: fix "count(): Parameter must be an array or an object that implements Countable" with PHP 7.2

Package Info
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_US (American English) by Piotr Klaban
    * es (Spanish Castellano) by Xavier Noguer
    * es_AR (Argentinian Spanish) by Martin Marrese
    * 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
    * 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

Related Links
Package home: http://pear.php.net/package/Numbers_Words
   Changelog: http://pear.php.net/package/Numbers_Words/download/0.18.2
    Download: http://download.pear.php.net/package/Numbers_Words-0.18.2.tgz


PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php