Mono Class Library: System.Math Overview | Members

System.Math.Abs Method

Returns the absolute value of the specified short.

public static short Abs (short value)

Parameters

value
A short.

Returns

A short containing the absolute value of value.

Exceptions

TypeReason
OverflowExceptionvalue equals short.MinValue.

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