Are there any third-party jar files for mathematical evaluation of java6?

I want to calculate a math expression in java6.for e.g.

c=a*b+((b/d)-c)/100-(h/2)

How to evaluate this mathematical expression ....

Please help me find a solution ...

Saravanan.P

+3
source share
4 answers

By the way, JEP can still be downloaded (via an older version, but still) as a licensed GPL library here (See related question .)

** EDIT **

The JEP documentation is very well written and contains many examples.

+1
source

JEP is a Java expression parser library.

+3
source

I recently implemented a simple math expression evaluator based on Dijkstra Shunting Yard Algorithm and released it under Apache License 2.0 .

you can check it here: http://projects.congrace.de/exp4j/index.html

+1
source

Source: https://habr.com/ru/post/1777889/


All Articles