Contents

NSDecimalCopy(_:_:)

Copies the value of a decimal number.

Declaration

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

Parameters

  • destination:

    A Decimal reference that receives the copied value.

  • source:

    A source Decimal to copy.

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