DecimalMath.Sqrt Method

Returns the square root of a specified number.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
C#
public static decimal Sqrt(
	decimal value
)

Parameters

value  Decimal
A decimal number.

Return Value

Decimal
The positive square root of value.

Exceptions

ArgumentOutOfRangeException

value is less than zero.

See Also