Put "(1 + 1) * 10 * 2" it will result 40. Put "-2 * 2 < -1 * 2" it will result true. Expr parses a string expression into valuable object in a lightweight way.