0.2.2 • Published 8 years ago

english_numbers v0.2.2

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

The main function is:

exports.numberToEnglish = function(number, millionComma, hyphenated, aNotOne)

arguments

number

This is the integer in need of being converted to english.

millionComma

This specifies whether to place a comma after the million word, i.e a million, three hundred thousand

hyphenated

Whether to hyphenate numbers in the range 21-99, i.e twenty-one instead of twenty one.

aNotOne

When numbers start with a 1, whether to generate an English string that begins with 'a' instead of 'one', i.e 'a hundred and ten' as opposed to 'one hundred and ten'.

0.2.2

8 years ago

0.2.11111111111

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago