library textify
Convert numbers and currency to a readable text
mrvito/textify
Convert numbers and currency to a readable text
- Friday, February 23, 2018
- by mrVito
- Repository
- 1 Watchers
- 0 Stars
- 5 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
textify
Convert numbers and currency to a readable text, (*1)
Installation
Just require the package from composer:
require mrvito/textify
, (*2)
Usage
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
dev-master
9999999-dev
Convert numbers and currency to a readable text
Sources
Download
Apache-2.0
The Development Requires
by
Vytautas Lozickas
v1.0
1.0.0.0
Convert numbers and currency to a readable text
Sources
Download
Apache-2.0
The Development Requires
by
Vytautas Lozickas