---
title: "init(_:format:lenient:)"
framework: swift
role: symbol
role_heading: Initializer
path: "swift/binaryfloatingpoint/init(_:format:lenient:)-2p118"
---

# init(_:format:lenient:)

Initialize an instance by parsing value with a ParseStrategy created with the given format and the lenient argument.

## Declaration

```swift
init(_ value: String, format: FloatingPointFormatStyle<Self>, lenient: Bool = true) throws
```
