I do have mathematical formulas like,
(3.14*2.500^2)/4
IF(45.0=0,0,1/42.9^2)
Which are formulas derived from Excel formulas.
I need to get result of these kind of formulas using java only.
I come across helpful link.
Can you please advice me for best way doing this?
- Do we have anything where we can directly put this formula and get result?
- Do I need to Tokanize the string and calculate it using basic Java Math package?
- If I have to Tokanize only then which is the best basic Math package or Commons Math?