Class

NSDecimal​Number​Handler

NSDecimal​Number​Handler is a class that adopts the NSDecimal​Number​Behaviors protocol. This class allows you to set the way an NSDecimal​Number object rounds off and handles errors, without having to create a custom class.

Overview

You can use an instance of this class as an argument to any of the NSDecimal​Number methods that end with ...Behavior:​. If you don’t think you need special behavior, you probably don’t need this class—it is likely that NSDecimal​Number's default behavior will suit your needs.

For more information, see the NSDecimal​Number​Behaviors protocol specification.

Symbols

Creating a Decimal Number Handler

class func `default`()

Returns the default instance of NSDecimal​Number​Handler.

Initializing a decimal number handler