Required Initializerswift 6.0.1Swift

    init(_:)

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

    init(_ value: Float)

    Parameters

    value

    A floating-point value to be converted.

    Other requirements

    View members

    Hide members

    This section is hidden by default because it contains too many (12) members.

    Type members

    Instance members

    Citizens in Swift

    Default implementations

    • init<Source>(Source)

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

    • init<Source>(Source)

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