0.2.2 • Published 10 years ago

english_numbers v0.2.2

Weekly downloads
1
License
ISC
Repository
-
Last release
10 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

10 years ago

0.2.11111111111

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago