Returns an NSDecimalNumberHandler object initialized so it behaves as specified by the method’s arguments.
Original signature is '- (id)initWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)raiseOnExactness raiseOnOverflow:(BOOL)raiseOnOverflow raiseOnUnderflow:(BOOL)raiseOnUnderflow raiseOnDivideByZero:(BOOL)raiseOnDivideByZero'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public NSDecimalNumberHandler( NSRoundingMode roundingMode, short scale, bool raiseOnExactness, bool raiseOnOverflow, bool raiseOnUnderflow, bool raiseOnDivideByZero )

- roundingMode (NSRoundingMode)
- The rounding mode to use. There are four possible values: NSRoundUp, NSRoundDown, NSRoundPlain, and NSRoundBankers.
- scale (Int16)
- The number of digits a rounded value should have after its decimal point.
- raiseOnExactness (Boolean)
- If YES, in the event of an exactness error the handler will raise an exception, otherwise it will ignore the error and return control to the calling method.
- raiseOnOverflow (Boolean)
- If YES, in the event of an overflow error the handler will raise an exception, otherwise it will ignore the error and return control to the calling method
- raiseOnUnderflow (Boolean)
- If YES, in the event of an underflow error the handler will raise an exception, otherwise it will ignore the error and return control to the calling method
- raiseOnDivideByZero (Boolean)
- If YES, in the event of a divide by zero error the handler will raise an exception, otherwise it will ignore the error and return control to the calling method

An initialized NSDecimalNumberHandler object initialized with customized behavior. The returned object might be different than the original receiver.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)