Instance Property

isLenient

Determines whether the receiver will use heuristics to guess at the number which is intended by a string.

Declaration

var isLenient: Bool { get set }

Discussion

If the formatter is set to be lenient, as with any guessing it may get the result number wrong (that is, a number other than that which was intended).