DecimalMath.Abs Method

Returns the absolute value of a System.Decimal number.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static decimal Abs(
	decimal value
)

Parameters

value  Decimal
A number in the range System.Decimal.MinValue≤ value ≤System.Decimal.MaxValue.

Return Value

Decimal
A System.Decimal, x, such that 0 ≤ x ≤System.Decimal.MaxValue.

See Also