+ 12

Challenge: words to numerals

..... write a code that can be used to convert numbers written in words to numerals For instance : "two hundred and sixty five thousand three hundred" -> 265300 it should take in the input as a string and be able to parse numbers upto trillions

10th Feb 2018, 7:02 PM
Barracoder
Barracoder - avatar
2 Answers
+ 2
Nice piece of code
28th Sep 2022, 7:43 PM
Mr Ajiero
Mr Ajiero - avatar
23rd Jun 2018, 4:24 AM
Utkarsh Chakrwarti
Utkarsh Chakrwarti - avatar