Mono Class Library: System.Convert Overview | Members

System.Convert.ToSingle Method

Converts a ulong to a float .

[System.CLSCompliant(false)]
public static float ToSingle (ulong value)

Parameters

value
The 64-bit unsigned integer value to be converted.

Returns

value as a float.

Remarks

This member is not CLS-compliant. For a CLS-compliant alternative, use Convert.ToSingle(object)(decimal).

Requirements

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