Decimal Math.Sqrt Method
Returns the square root of a specified number.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The positive square root of value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static decimal Sqrt(
decimal value
)
Parameters
- value Decimal
- A decimal number.
Return Value
DecimalThe positive square root of value.
Exceptions
Argument | value is less than zero. |