6 lines
119 B
Plaintext
6 lines
119 B
Plaintext
import jscl.math.Expression;
|
|
|
|
String simplify(String expr) {
|
|
return Expression.valueOf(expr).simplify().toString();
|
|
}
|