Function

NSDecimalCopy(_:_:)

Copies the value of a decimal number.

Declaration

func NSDecimalCopy(_ destination: UnsafeMutablePointer<Decimal>, _ source: UnsafePointer<Decimal>)

Discussion

Copies the value in source to destination.

For more information, see Number and Value Programming Topics.

See Also

Creating a Decimal from Another Decimal

init(signOf: Decimal, magnitudeOf: Decimal)

Creates and initializes a decimal with the sign and magnitude of the given decimals.