notANumber
A decimal number that specifies no number.
Declaration
@NSCopying class var notANumber: NSDecimalNumber { get }Return Value
An NSDecimalNumber object that specifies no number.
Discussion
Any arithmetic method receiving notANumber as an argument returns notANumber.
This value can be a useful way of handling non-numeric data in an input file. This method can also be a useful response to calculation errors. For more information on calculation errors, see the exceptionDuringOperation(_:error:leftOperand:rightOperand:) method description in the NSDecimalNumberBehaviors protocol specification.