How to calculate formulas like (a + b) ^ 2, sum((a + b) / 2) using NSExpression? I am the beginner to NSExpression.
(a + b) ^ 2 how to use whole square 2 in objective c.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
NSExpressionis not a general-purpose mathematical expression evaluator. It’s meant to be used withNSPredicateto describe selection criteria in Core Data queries.