Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 658 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 658 Bytes

number_to_word

Build Status

A package for converting numbers to english words, e.g.,

from number_to_word import number_to_word

number_to_word.number_to_word(111)

returns

'one hundred eleven'

Inputs must be float, int or a castable string, e.g., '111', not a string

Install

To install clone the directory, change directory and run setup.py. Run tests with pytest.

git clone https://github.com/gillespied/number_to_word.git
cd number_to_word
python setup.py -q install
pytest