Quote (Furio @ Aug 10 2012 06:25am)
Since I couldn't find a lib for this, I wrote the damn thing out. It's not working for this exact reason. I was taught that it was only correct to use "and" in numbers when referring to the decimal. So one hundred and thirty-nine would be 100.39. Apparently this isn't universal as I have some people using several ands in one number. I also have fuckers not using hyphens in numbers like twenty-five. What a waste of time this turned out to be.
If it's not working, then you didn't have enough error checking code and error messages to help the user. It isn't the users, it's the programmer.
Using two ands in one sentence? Throw and error and them know that and means period. Have a help command. There are many other solutions. Sounds like lazy programming to me.