Contents

adding(_:withBehavior:)

Adds this number to another given number using the specified behavior.

Declaration

func adding(_ decimalNumber: NSDecimalNumber, withBehavior behavior: (any NSDecimalNumberBehaviors)?) -> NSDecimalNumber

Discussion

behavior specifies the handling of calculation errors and rounding.

See Also

Performing Arithmetic