Original Post
I've got this Money Management page I'm working on, and you can enter what you've spent money on, how much, add tags to that transaction, keywords, a description, etc... One of the features I wanted to add was that, instead of the user being limited to entering absolute values, like "3.45", he could enter simple operations, like "20-1.45". It makes more sense when you go to the supermarket, and you want to delay what was spent and where. So I'm looking for some sort of PHP function that will interpret the math string "20 - 1.45" at runtime. Any ideas?