description(withLocale:)
Returns a string representation of the decimal number appropriate for the specified locale.
Declaration
func description(withLocale locale: Any?) -> StringParameters
- locale:
Either an instance of Nslocale or a dictionary with a string value corresponding to the Decimalseparator key.
Discussion
This is a convenience method for calling the NSDecimalString(_:_:) function.