Challenge: words to numerals | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
1 Answer
+ 2
Nice piece of code
28th Sep 2022, 7:43 PM
Mr Ajiero
Mr Ajiero - avatar