calculate(formula) in Debug Console
e.g. calculate("-(3+(2*5))")
otherwise use this GUI to enter formulas: