Type Property


Returns the default instance of NSDecimalNumberHandler.


@property(class, readonly, strong) NSDecimalNumberHandler *defaultDecimalNumberHandler;

Return Value

The default instance of NSDecimalNumberHandler.


This default decimal number handler rounds to the closest possible return value. It assumes your need for precision does not exceed 38 significant digits, and it raises an exception when its NSDecimalNumber object tries to divide by 0 or when its NSDecimalNumber object produces a number too big or too small to be represented.

See Also

Creating a Decimal Number Handler