I'm looking for a library, service, or code suggestions to turn spelled out numbers and amounts (eg. "thirty five dollars and fifteen cents", "one point five") into numerics ($35.15, 1.5) . Suggestions?
Asked
Active
Viewed 5,860 times
1 Answers
5
I wrote some code to do this for integers a while ago: http://github.com/ghewgill/text2num
Feel free to fork and hack.

Greg Hewgill
- 951,095
- 183
- 1,149
- 1,285
-
1I understannd this is an old question and the standards were different. However, as it stands, it is a link-only answer. Are you able to extend it to include the main point of the script? – Jorge Leitao Feb 28 '17 at 07:50