I have an entity attribute in which are stored both numbers and empty field.
I need the sum and the average values of this attributes values but doing @"@sum.attributeName"
or @"@avg.attributeName"
I get
Terminating app due to uncaught exception 'NSDecimalNumberOverflowException', reason: 'NSDecimalNumber overflow exception'
Thank's
I solved even if the Attributes are String Type as follows: