Click or drag to resize
MathAbs Method (Double)
Returns the absolute value of a double-precision floating-point number.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static double Abs(
	double value
)

Parameters

value
Type: SystemDouble
A number that is greater than or equal to MinValue, but less than or equal to MaxValue.

Return Value

Type: Double
A double-precision floating-point number, x, such that 0 ≤ x ≤MaxValue.
See Also