NSDecimalMultiplyByPowerOf10(_:_:_:_:)
Multiplies a decimal by the specified power of 10.
Declaration
func NSDecimalMultiplyByPowerOf10(_ result: UnsafeMutablePointer<Decimal>, _ number: UnsafePointer<Decimal>, _ power: Int16, _ roundingMode: NSDecimalNumber.RoundingMode) -> NSDecimalNumber.CalculationErrorDiscussion
Multiplies number by power of 10 and stores the product, possibly rounded off according to roundingMode, in result.
For explanations of the possible return values and rounding modes, see NSDecimalAdd(_:_:_:_:).
For more information, see Number and Value Programming Topics.