Determine if NSNumber is NaN

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.

Leave a Comment