Contents

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