InitializerFoundationEssentials
init(signOf:magnitudeOf:)
iOS 8.0+
iPadOS 8.0+
Mac Catalyst 8.0+
macOS 10.10+
tvOS 9.0+
watchOS 2.0+
Creates and initializes a decimal with the sign and magnitude of the given decimals.
Parameters
signOfA
Decimalto use for the sign of the newly-createdDecimal.magnitudeA
Decimalto use for the magnitude of the newly-createdDecimal.