C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Math Class
Math Methods
Abs Method
Acos Method
Asin Method
Atan Method
Atan2 Method
Ceiling Method
Cos Method
Exp Method
Floor Method
IEEERemainder Method
Log Method
Log10 Method
Max Method
Min Method
Pow Method
Round Method
Sign Method
Sin Method
Sqrt Method
Tan Method
Truncate Method
Math
Sqrt Method
Returns the square root of a specified number.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
static
double
Sqrt
(
double
d
)
Parameters
d
Type:
System
Double
A number.
Return Value
Type:
Double
One of the values in the following table.
d
parameter Return value Zero, or positive The positive square root of
d
. Negative
NaN
Equals
NaN
NaN
Equals
PositiveInfinity
PositiveInfinity
See Also
Reference
Math Class
System Namespace