2017 © Pedro Peláez
 

library cislo

Translates integers to words and vice versa

image

khanovaskola/cislo

Translates integers to words and vice versa

  • Friday, February 20, 2015
  • by Mikulas
  • Repository
  • 2 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Build Status Downloads this Month Stable version HHVM Status, (*1)

Installation

With composer:, (*2)

composer require khanovaskola/cislo '@dev'

Usage

use KhanovaSkola\Cislo;

Cislo::parse('nula'); // 0
Cislo::parse('jedna'); // 1
Cislo::parse('jeden'); // 1
Cislo::parse('pětadvacet'); // 25
Cislo::parse('tisíc devět set dvacet pět'); // 1925
Cislo::parse('devatenáct set dvacet pět')); // 1925
Cislo::parse('jeden tisic devet set a dvacet pet'); // 1925
Cislo::parse('garble'); // KhanovaSkola\\InvalidArgumentException

Cislo::toWord(0); // nula
Cislo::toWord(1337); // tisíc tři sta třicet sedm
Cislo::toWord(3e8); // tři sta milionů
Cislo::toWord(1e9); // KhanovaSkola\\OutOfRangeException

The Versions

20/02 2015

dev-master

9999999-dev

Translates integers to words and vice versa

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mikuláš Dítě

20/02 2015

v1.5

1.5.0.0

Translates integers to words and vice versa

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mikuláš Dítě

19/02 2015

v1.4

1.4.0.0

Translates integers to words and vice versa

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mikuláš Dítě

19/02 2015

v1.3

1.3.0.0

Translates integers to words and vice versa

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mikuláš Dítě

19/02 2015

v1.2

1.2.0.0

Translates integers to words and vice versa

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mikuláš Dítě

16/02 2015

v1.1

1.1.0.0

Translates integers to words and vice versa

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mikuláš Dítě

16/02 2015

v1.0

1.0.0.0

Translates integers to words and vice versa

  Sources   Download

MIT

The Requires

 

The Development Requires

by Mikuláš Dítě