Click or drag to resize
ConvertToString Method (Single, IFormatProvider)
Converts the value of the specified single-precision floating-point number to its equivalent string representation, using the specified culture-specific formatting information.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static string ToString(
	float value,
	IFormatProvider provider
)

Parameters

value
Type: SystemSingle
The single-precision floating-point number to convert.
provider
Type: SystemIFormatProvider
An object that supplies culture-specific formatting information.

Return Value

Type: String
The string representation of value.
See Also