asp.net.ph

Math.Sqrt Method

System Namespace   Math Class


Returns the square root of a specified number.

[ VB ]
Public Shared Function Sqrt ( _
   ByVal d As Double _
) As Double

[ C# ]
public static double Sqrt (
   double d
);

[ C++ ]
public: static double Sqrt (
   double d
);

[ JScript ]
public static function Sqrt (
   d : double
) : double;

Parameters

d
A number.

Return Value


Value of d Returns
Zero, or positive The positive square root of d.
Negative NaN

If d is equal to NaN or PositiveInfinity, that value is returned.

See Also

Math Members 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