DoubleToString Method (String, IFormatProvider) |
Converts the numeric value of this instance to its equivalent string representation using the specified format and culture-specific format information.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public string ToString(
string format,
IFormatProvider provider
)
Parameters
- format
- Type: SystemString
A numeric format string. - provider
- Type: SystemIFormatProvider
An object that supplies culture-specific formatting information.
Return Value
Type:
StringThe string representation of the value of this instance as specified by
format and
provider.
See Also