Method IFormattable.ToString
IFormattable.ToString(string?, IFormatProvider?)
Returns a localized string representation of the currency using the specified format and format provider. If the format provider is not a CultureInfo instance, it is ignored and the current culture is used instead.
Declaration
string IFormattable.ToString(string? format, IFormatProvider? provider)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
IFormatProvider | provider |
Returns
Type | Description |
---|---|
string |