---
title: "init(exactly:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/float80/init(exactly:)-9oml5"
---

# init(exactly:)

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

## Declaration

```swift
init?<Source>(exactly value: Source) where Source : BinaryFloatingPoint
```

## Parameters

- `value`: A floating-point value to be converted.

## Discussion

Discussion If the given floating-point value cannot be represented exactly, the result is nil.
