Decimal Math.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#
A System.Decimal, x, such that 0 ≤ x ≤System.Decimal.MaxValue.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static decimal Abs(
decimal value
)
Parameters
- value Decimal
- A number in the range System.Decimal.MinValue≤ value ≤System.Decimal.MaxValue.
Return Value
DecimalA System.Decimal, x, such that 0 ≤ x ≤System.Decimal.MaxValue.