words-and-numbers
v1.0.3
Published
Convert Word to Number
Readme
wordTONumber
Converts input string to number
Features
- wordToNumber converts input string to output numbers
API USAGE
wordToNumbers(input)
- {string} input - input string value
Examples
- converts
one hundredto 100 - converts
nineto 9 - converts
ten millions fifty thousand and fiveto 10050005 - converts
two lakhs five hundred and fiftyto200550 - converts
two ten crores thirty thousand five hundred and fiveto300005520 - converts
two ten crores thirty thousand five hundred and fiveto2100055005
