2017 © Pedro Peláez
 

library textify

Convert numbers and currency to a readable text

image

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

The README.md

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

The Versions

23/02 2018

dev-master

9999999-dev

Convert numbers and currency to a readable text

  Sources   Download

Apache-2.0

The Development Requires

by Vytautas Lozickas

01/11 2015

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