Contents

multiplying(by:)

Multiplies the number by another given number.

Declaration

func multiplying(by decimalNumber: NSDecimalNumber) -> NSDecimalNumber

Parameters

  • decimalNumber:

    The number by which to multiply the receiver.

Return Value

A new NSDecimalNumber object whose value is decimalNumber multiplied by the receiver.

Discussion

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

See Also

Related Documentation

Performing Arithmetic