ToString Method (Single)

XmlConvert.ToString Method (Single)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Converts the Single to a String.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public static string ToString(
	float value
)

Parameters

value
Type: System.Single
The value to convert.

Return Value

Type: System.String
A string representation of the Single.

If value is Single.PositiveInfinity or Single.NegativeInfinity, this method returns the string INF or -INF respectively.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft