Initializer

init(_:)

Creates a new instance from the given value, rounded to the closest possible representation.

Required.

Declaration

init(_ value: Double)

Parameters

value

A floating-point value to be converted.