init(format:lenient:)
Creates a parse strategy instance using the specified decimal currency format style.
Declaration
init(format: Format, lenient: Bool = true)Parameters
- format:
A configured Formatstyle that describes the currency string format to parse.
- lenient:
A Boolean value that indicates whether the parse strategy should permit some discrepencies when parsing. Defaults to
true.