SyntaxFix
Write A Post
Hire A Developer
Questions
You can use this function to get the absolute value:
+(NSNumber *)absoluteValue:(NSNumber *)input { return [NSNumber numberWithDouble:fabs([input doubleValue])]; }