System Namespace Convert Class
Converts the value of a given single-precision floating point number to an equivalent double-precision floating point number.
[ VB ]
Overloads Public Shared Function ToDouble ( _
ByVal value As Single _
) As Double
[ C# ]
public static double ToDouble (
float value
);
[ C++ ]
public: static Double ToDouble (
float value
);
[ JScript ]
public static function ToDouble (
value : float
) : Double;
- value
- A single-precision floating point number.
A Double number equivalent of value. The Double contains 7 significant digits and is rounded using rounding to nearest. For example, when rounded to two doubles, the value 2.345 becomes 2.34 and the value 2.355 becomes 2.36.
Convert Members Convert.ToDouble Overload List Single