Nathan has posted 4 posts at DZone. View Full User Profile

Jep 3.3 Released - Parse and Evaluate Mathematical Expressions

  • submit to reddit

Jep is a Java library for parsing and evaluating mathematical expressions. With this package you can allow your users to enter an arbitrary formula as a string, and instantly evaluate it. For details, visit


  • Small size (only 260KB as jar archive)
  • Fast evaluation
  • High precision using BigDecimals
  • Includes common math functions and operators
  • Supports Boolean expressions
  • Extendable and configurable architecture

Improvements in version 3.3:

  • Evaluation speed 2x-3x faster
  • Added functions (Switch, Case, Left, Right, Mid, Substring, LowerCase, UpperCase, Length, Trim.)
  • Enhanced operator table
  • And more
Published at DZone with permission of its author, Nathan Funk.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)