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?
From stackoverflow
-
I wrote some code to do this for integers a while ago: http://github.com/ghewgill/text2num
Feel free to fork and hack.
-
Almost a duplicate.
http://stackoverflow.com/questions/309884/code-golf-number-to-words
Parand : I'm looking for the reverse of what golf number to words does.
0 comments:
Post a Comment