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?
1) No. Java and most other languages does not have a function to evaluate an expression from a string.
2-3) Yes. You must tokenize it and write your own parser, or just use a library, like the one you posted the link.