init(exactly:)
Creates a new decimal value exactly representing the provided integer.
Declaration
init?<T>(exactly source: T) where T : BinaryIntegerParameters
- source:
The integer to convert.
Discussion
If source isn’t representable as a Decimal instance, the result is nil.