Mono Class Library: System.Math Overview | Members

System.Math.Abs Method

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

public static float Abs (float value)

Parameters

value
A float. [Edit]

Returns

A float containing the absolute value of value. If value is equal to float.NegativeInfinity or float.PositiveInfinity, returns float.PositiveInfinity. If value is equal to float.NaN, returns float.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