pear:packages:numbers_words

This is an old revision of the document!


Numbers_Words

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.

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

Maintainer

Unmaintained; though doconnor is tinkering.

Overview of Code

Numbers_Words is a bit of an older package, aimed at PHP4. There are many different contributors to small sections of the package (each driver).

There has been a tendency to copy and paste much code when implementing a new language; because of there being so many contributors.

The code is not E_STRICT friendly, with a number of methods overriding the base class method ''toWords()'' all with different signatures.

There is low unit test coverage, of only the Spanish and Polish translators.

Used by

pear/packages/numbers_words.1227602567.txt.gz · Last modified: 2017/09/22 13:28 (external edit)