Mono Class Library: System.Convert Overview | Members

System.Convert.ToDouble Method

Converts a ushort to a double .

[System.CLSCompliant(false)]
public static double ToDouble (ushort value)

Parameters

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

Returns

value as a double.

Remarks

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

Requirements

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