I'm trying to figure out a way (or find a library) that supports long money string conversion into a decimal. I'm not sure if there's a practical way to do this with all the possible combinations.
Basically, I would need to convert something like two hundred and thirteen dollars and fifty-two cents into 213.52
Does anybody know of a library that handles this already or a solution that has already been posted? I've Googled for about an hour and came up with turning dollar amounts in words.