Returns the absolute value of a System.Decimal number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static decimal Abs(
decimal value
)
Public Shared Function Abs (
value As Decimal
) As Decimal
public:
static Decimal Abs(
Decimal value
)
static member Abs :
value : decimal -> decimal
Parameters
- value
- Type: SystemDecimal
A number in the range System.Decimal.MinValue≤ value ≤System.Decimal.MaxValue.
Return Value
Type:
Decimal
A System.Decimal, x, such that 0 ≤ x ≤System.Decimal.MaxValue.
Reference