2.1.3 • Published 3 years ago
@salvadroid/numword v2.1.3
Numword
Just translates numbers into words to know how to read them
Install
npm i --save @salvadroid/numwordUsage
const toWords = require('@salvadroid/numword')
console.log(toWords(1994)) //=> one thousand nine hundred ninety-fourExamples
128
one hundred twenty-eight-128
minus one hundred twenty-eight29.01
twenty-nine and one hundredthsThe maximum and minimum input is given by 2^53 and -2^53