Mono Class Library: System.Math Overview | Members

System.Math.Abs Method

Returns the absolute value of the specified double.

public static double Abs (double value)

Parameters

value
A double.

Returns

A double containing the absolute value of value. If value is equal to double.NegativeInfinity or double.PositiveInfinity, returns double.PositiveInfinity. If value is equal to double.NaN, returns double.NaN.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0