Contents

init(signOf:magnitudeOf:)

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

Declaration

init(signOf: Decimal, magnitudeOf magnitude: Decimal)

Parameters

  • signOf:

    A Decimal to use for the sign of the newly-created Decimal.

  • magnitude:

    A Decimal to use for the magnitude of the newly-created Decimal.

See Also

Creating a decimal from another decimal