Decimal Math.Abs Method
Returns the absolute value of a System.Decimal number.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A System.Decimal, x, such that 0 ≤ x ≤System.Decimal.MaxValue.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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.