Mono Class Library: System.Xml.XmlConvert Overview | Members

System.Xml.XmlConvert.ToString Method

Converts a float to a string . [Edit]

public static string ToString (float value)

Parameters

value
The float to convert. [Edit]

Returns

The string representation of value. [Edit]

Remarks

If value is double.NegativeInfinity, this method returns "-INF".

If value is double.PositiveInfinity, this method returns "INF".

Otherwise, this method calls value.ToString("R", System.Globalization.NumberFormatInfo.InvariantInfo).

[Edit]

Requirements

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