spell_num 0.0.6
spell_num: ^0.0.6 copied to clipboard
convert numbers to english words.
Features #
-
Spell numbers in English words
-
You can spell up to 999 Million and with decimals
-
You can specify a currency too or leave blank - USD EUR & LBP are supported
Usage #
spellNum(7670.10,2,'\$'); //Seven Thousand Six Hundred Seventy Dollars and Ten Cents
spellNum(15.06,2,'USD');
spellNum(15.06,2,'EUR');
spellNum(15.06,2,'€');
spellNum(7814427.75,2,'LBP');
|