NSDecimalCompact(_:)
Compacts the decimal structure for efficiency.
Declaration
func NSDecimalCompact(_ number: UnsafeMutablePointer<Decimal>)Discussion
Formats number so that calculations using it will take up as little memory as possible. All the NSDecimal... arithmetic functions expect compact Decimal arguments.
For more information, see Number and Value Programming Topics.
See Also
Performing arithmetic using references
NSDecimalAdd(_:_:_:_:)NSDecimalSubtract(_:_:_:_:)NSDecimalDivide(_:_:_:_:)NSDecimalMultiply(_:_:_:_:)NSDecimalMultiplyByPowerOf10(_:_:_:_:)NSDecimalRound(_:_:_:_:)NSDecimalPower(_:_:_:_:)NSDecimalNormalize(_:_:_:)Decimal.RoundingModeNSDecimalNumber.RoundingModeDecimal.CalculationErrorNSDecimalNumber.CalculationError