1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/textproc/pear-Numbers_Words/pkg-descr
Pav Lucistnik 59dbb89372 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.

PR:		ports/86893
Submitted by:	Piotr Rybicki <meritus@innervision.pl>
2005-10-07 19:58:32 +00:00

17 lines
913 B
Plaintext

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), cs (Czech), de (German),
dk (Danish), ee (Estonian), en_100 (Donald Knuth system, English),
en_GB (British English), en_US (American English), es (Spanish Castellano),
es_AR (Argentinian Spanish), fr (French), fr_BE (French Belgium), he (Hebrew),
hu_HU (Hungarian), id (Indonesian), it_IT (Italian), lt (Lithuanian),
pl (Polish), pt_BR (Brazilian Portuguese), ru (Russian), sv (Swedish).
WWW: http://pear.php.net/package/Numbers_Words