Click or drag to resize
ConvertToDouble Method (Decimal)
Converts the value of the specified decimal number to an equivalent double-precision floating-point number.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static double ToDouble(
	decimal value
)

Parameters

value
Type: SystemDecimal
The decimal number to convert.

Return Value

Type: Double
A double-precision floating-point number that is equivalent to value.
See Also