Conversions::ToString Method (Single, NumberFormatInfo^)

 

Converts a Single value to a String value, using the specified number format.

Namespace:   Microsoft.VisualBasic.CompilerServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

public:
static String^ ToString(
	float Value,
	NumberFormatInfo^ NumberFormat
)

Parameters

Value
Type: System::Single

The Single value to convert.

NumberFormat
Type: System.Globalization::NumberFormatInfo^

The number format to use, according to NumberFormatInfo.

Return Value

Type: System::String^

The String representation of the Single value.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Return to top
Show: