Features

  • Spell numbers in English words

Usage

spellNum(7670.10,2,'USD','Cents');
//Seven Thousand Six Hundred Seventy Dollars and Ten Cents

spellNum(15.60,2,'USD','Cents');
//Fifteen Dollars and Sixty Cents

spellNum(15.06,2,'Euros','Cents');
//Fifteen Euros and Six Cents

spellNum(15000,0,'Lebanese Pounds');
//Fifteen Thousand Lebanese Pounds

spellNum(7814427.75,2,'LBP');
//Seven Million Eight Hundred Fourteen Thousand Four Hundred Twenty Seven Lebanese Pounds

example

Libraries

spell_num