asp.net.ph

Convert.ToDouble Method ( Double )

System Namespace   Convert Class


Converts the value of a given double-precision floating point number to an equivalent Double number.

[ VB ]
Overloads Public Shared Function ToDouble ( _
   ByVal value As Double _
) As Double

[ C# ]
public static double ToDouble ( 
   double value
);

[ C++ ]
public: static Double ToDouble ( 
   double value
);

[ JScript ]
public static function ToDouble (
   value : double
) : Double;

Parameters

value
A double-precision floating point number.

Return Value

A Double number equivalent of value. The Double contains 15 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.

Exceptions


Exception Type Condition
OverflowException The numeric value of value is greater than MaxValue or less than MinValue.

See Also

Convert Members   Convert.ToDouble Overload List   Double Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph