init(format:lenient:)
Creates a parse strategy instance using the specified floating-point format style.
Declaration
init<Value>(format: Format, lenient: Bool = true) where Format == FloatingPointFormatStyle<Value>, Value : BinaryFloatingPointParameters
- format:
A configured Floatingpointformatstyle that describes the string format to parse.
- lenient:
A Boolean value that indicates whether the parse strategy should permit some discrepencies when parsing. Defaults to
true.