BSD Ports

textproc/pear-Numbers_Words 0.16.4 DragonFly

PEAR package provides methods for spelling numerals in words

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
pear, textproc
Package size
43.3 KiB, 419.7 KiB installed

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) * cs (Czech) * de (German) * dk (Danish) * en_100 (Donald Knuth system, English) * en_GB (British English) * en_US (American English) * es (Spanish Castellano) * es_AR (Argentinian Spanish) * et (Estonian) * fr (French) * fr_BE (French Belgium) * he (Hebrew) * hu_HU (Hungarian) * id (Indonesian) * it_IT (Italian) * lt (Lithuanian) * nl (Dutch) * pl (Polish) * pt_BR (Brazilian Portuguese) * ru (Russian) * sv (Swedish)

In the other systems

SystemPortVersion
DragonFlytextproc/pear-Numbers_Words0.16.4
FreeBSDtextproc/pear-Numbers_Words0.16.4
HardenedBSDtextproc/pear-Numbers_Words0.16.4
GhostBSDtextproc/pear-Numbers_Words0.16.4

Install

Binary package:

pkg install php81-pear-Numbers_Words

From DPorts:

cd /usr/dports/textproc/pear-Numbers_Words && make install clean

Dependencies

Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
php82-pear-Numbers_Words-0.16.4, php83-pear-Numbers_Words-0.16.4, php84-pear-Numbers_Words-0.16.4