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?
+2
A:
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
2009-01-22 06:52:37
A:
Almost a duplicate.
http://stackoverflow.com/questions/309884/code-golf-number-to-words
Ben Alpert
2009-01-22 06:57:00
I'm looking for the reverse of what golf number to words does.
Parand
2009-01-22 06:59:09