using org.mariuszgromada.math.mxparser;
public static class Assingment
public static void Main()
Expression e = new Expression("ceil((((52000 * 1.35) / 1000) * 5) / 25) * 25");
e.setDescription("Example - verbose mode");
mXparser.consolePrintln("Res: " + e.getExpressionString() + " = " + e.calculate());
mXparser.consolePrintln("checkSyntax = " + e.checkSyntax());
mXparser.consolePrintln(e.getErrorMessage());
mXparser.consolePrintln("checkLexSyntax = " + e.checkLexSyntax());