Function

NSDecimalString(_:_:)

Returns a string representation of the decimal value appropriate for the specified locale.

Declaration

func NSDecimalString(_ dcm: UnsafePointer<Decimal>, _ locale: Any?) -> String

Parameters

dcm

The decimal value to represent.

locale

Either an instance of NSLocale or a dictionary with a string value corresponding to the decimalSeparator key.