Contents

subtracting(_:)

Subtracts another given number from this one.

Declaration

func subtracting(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber

Parameters

  • decimalNumber:

    The number to subtract from the receiver.

Return Value

A new NSDecimalNumber object whose value is decimalNumber subtracted from the receiver.

Discussion

This method uses the default behavior when handling calculation errors and when rounding.

See Also

Related Documentation

Performing Arithmetic