Formula Evaluator

View the Project on GitHub dkellenb/formula-evaluator

Formula Evaluator

Inspired by EvalEx the goal of this small library is to offer a simple way how to organize complex formulas in a readable way, without loose too much performance.

Example: FormulaEvaluator.create("a * b + c ^ 3") .with("a", BigDecimal.valueOf(10)) .with("b", BigDecimal.valueOf(5.5)) .with("c", BigDecimal.valueOf(3)) .evalPrecise();