Contents

raising(toPower:)

Raises the number to a given power.

Declaration

func raising(toPower power: Int) -> NSDecimalNumber

Parameters

  • power:

    The power to which to raise the receiver.

Return Value

A new NSDecimalNumber object whose value is the value of the receiver raised to the power power.

Discussion

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

See Also

Related Documentation

Performing Arithmetic