BohdanPetryshyn / JavaMathParser

JavaMathParser can evaluate mathematic expression with this operators: "+", "-", "*", "/", "^". Priorities of the operations can be configured by "(" and ")".

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JavaMathParser

JavaMathParser can evaluate mathematic expression with this operators: "+", "-", "*", "/", "^". Priorities of the operations can be configured by "(" and ")".

To evaluate your expression, call "public static double evaluate(@NotNull String expression)" from MathParser class.

Example of evaluate method usage you can find in Main.java.

About

JavaMathParser can evaluate mathematic expression with this operators: "+", "-", "*", "/", "^". Priorities of the operations can be configured by "(" and ")".


Languages

Language:Java 100.0%