String math?

Put your problem here if it does not fit any of the other categories.

String math?

Postby Maoukiji » Fri Jul 03, 2009 7:07 pm

I'm having a pretty big problem with android. I currently accept input via buttons - these buttons add the values of the numbers (Operators, and decimals too) to a text box and a string variable. The issue I'm having is the fact that android doesn't have an eval() function and I have no clue how to go about executing this string as an equation.

Does anyone have any ideas on how to do this? The equations won't exactly be complex, however there will be decimal values that go beyond double's limit (To the left of the decimal), and I honestly don't remember how to handle that other than with an eval...
Posts: 2
Joined: Wed Jul 01, 2009 12:54 am


Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 5 guests