Instance Method

roundingMode()

Returns the way that NSDecimalNumber's decimalNumberBy... methods round their return values.

Required.

Declaration

func roundingMode() -> NSDecimalNumber.RoundingMode

Return Value

Returns the current rounding mode. See NSDecimalNumber.RoundingMode for possible values.

See Also

Rounding

func scale() -> Int16

Returns the number of digits allowed after the decimal separator.

Required.