Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft