init(format:lenient:)
Creates a parse strategy instance using the specified decimal format style.
Declaration
init(format: Format, lenient: Bool = true)Parameters
- format:
A configured Formatstyle 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.