Over a million developers have joined DZone.

Jep 3.3 Released - Parse and Evaluate Mathematical Expressions


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 http://www.singularsys.com/jep


  • 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

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}