---
title: "init(_:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/float16/init(_:)-67cee"
---

# init(_:)

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

## Declaration

```swift
init<Source>(_ value: Source) where Source : BinaryInteger
```

## Parameters

- `value`: The integer to convert to a floating-point value.

## Discussion

Discussion If two representable values are equally close, the result is the value with more trailing zeros in its significand bit pattern.
