android-calculatorpp/src/misc/src/jscl/editorengine/commands/simplify.bsh
2011-09-12 22:57:23 +04:00

6 lines
119 B
Plaintext

import jscl.math.Expression;
String simplify(String expr) {
return Expression.valueOf(expr).simplify().toString();
}