dividing(by:)
Divides the number by another given number.
Declaration
func dividing(by decimalNumber: NSDecimalNumber) -> NSDecimalNumberParameters
- decimalNumber:
The number by which to divide the receiver.
Return Value
A new NSDecimalNumber object whose value is the value of the receiver divided by decimalNumber.
Discussion
This method uses the default behavior when handling calculation errors and rounding.