System.Xml.XmlConvert.ToString Method

Converts the float to a string.

Syntax

public static string ToString (float value)

Parameters

value
The value to convert.

Returns

A string representation of the Single.

Remarks

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

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0