dev-master
9999999-devConvert numbers and currency to a readable text
Apache-2.0
The Development Requires
by Vytautas Lozickas
v1.0
1.0.0.0Convert numbers and currency to a readable text
Apache-2.0
The Development Requires
by Vytautas Lozickas
Wallogit.com
2017 © Pedro Peláez
Convert numbers and currency to a readable text
Convert numbers and currency to a readable text, (*1)
Just require the package from composer:
require mrvito/textify, (*2)
Create an instance of NumberToText class from a correct namespace for your language i.e. for english:, (*3)
use MrVito\Textify\en_US\NumberToText; $numberToText = NumberToText::getInstance();
And just use the method you want...:, (*4)
$text = $numberToText->getText(123); echo $text;
Outputs:, (*5)
one hundred and twenty three
Convert numbers and currency to a readable text
Apache-2.0
Convert numbers and currency to a readable text
Apache-2.0