A class capable of formatting a numeric value into a human readable word form. Works primarily on the English language but can easily be adapted by overwriting the class properties and setting a system locale.
- PHP 5.3+ - v2.x
- PHP 5.2+ - v1.x
- Multibyte String - http://php.net/manual/book.mbstring.php
- Convert single or multiple numbers
- Convert currencies (primarily USD, EUR, GBP, AUD)
- Convert all numbers within a string
- Supports up to centillions
Thorough documentation can be found here: http://milesj.me/code/php/numword