Mono Class Library: System.Math Overview | Members

System.Math.Abs Method

Returns the absolute value of the specified double. [Edit]

public static double Abs (double value)

Parameters

value
A double. [Edit]

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. [Edit]

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

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