ConvertToString Method (Decimal, IFormatProvider) |
Converts the value of the specified decimal number to its equivalent string representation, using the specified culture-specific formatting information.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static string ToString(
decimal value,
IFormatProvider provider
)
Parameters
- value
- Type: SystemDecimal
The decimal number to convert. - provider
- Type: SystemIFormatProvider
An object that supplies culture-specific formatting information.
Return Value
Type:
StringThe string representation of
value.
See Also