Contents

adding(_:)

Adds this number to another given number.

Declaration

func adding(_ decimalNumber: NSDecimalNumber) -> NSDecimalNumber

Parameters

  • decimalNumber:

    The number to add to the receiver.

Return Value

A new NSDecimalNumber object whose value is the sum of the receiver and decimalNumber.

Discussion

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

See Also

Related Documentation

Performing Arithmetic