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