asp.net.ph

Convert.ToDouble Method ( Single )

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;

Parameters

value
A single-precision floating point number.

Return Value

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.

See Also

Convert Members   Convert.ToDouble Overload List   Single Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note