Contents

subtracting(_:withBehavior:)

Subtracts this a given number from this one using the specified behavior.

Declaration

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

Discussion

behavior specifies the handling of calculation errors and rounding.

See Also

Performing Arithmetic