Initializer

init(exactly:)

No overview available.

Declaration

init?(exactly number: NSNumber)

See Also

Converting with No Loss of Precision

init?<Source>(exactly: Source)

Creates a new instance from the given value, if it can be represented exactly.

init?(exactly: Double)

Creates a new instance initialized to the given value, if it can be represented without rounding.

init?(exactly: Float)

Creates a new instance initialized to the given value, if it can be represented without rounding.

init?(exactly: Float80)

Creates a new instance initialized to the given value, if it can be represented without rounding.

init?<Source>(exactly: Source)

Creates a new value, if the given integer can be represented exactly.