calculateExpressionWithFormat: migrate to OSTAMathResult class