Mono Class Library: System.Math Overview | Members

System.Math.Abs Method

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

public static long Abs (long value)

Parameters

value
A long. [Edit]

Returns

A long containing the absolute value of value. [Edit]

Exceptions

TypeReason
OverflowExceptionvalue equals long.MinValue. [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