Returns the absolute value of a
Decimal number.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static decimal Abs(
decimal value
)
Parameters
- value
- Type: SystemDecimal
A number that is greater than or equal to MinValue, but less than or equal to MaxValue.
Return Value
Type:
DecimalA decimal number, x, such that 0 ≤ x ≤
MaxValue.
See Also