So, I found out that the class property [NSDecimalNumber notANumber]
is just for this purpose. In some languages NaN != NaN, but this isn’t the case in Cocoa.
So, I found out that the class property [NSDecimalNumber notANumber]
is just for this purpose. In some languages NaN != NaN, but this isn’t the case in Cocoa.