Int16.Abs(Int16) Method

Definition

Computes the absolute of a value.

public:
 static short Abs(short value) = System::Numerics::INumberBase<short>::Abs;
public static short Abs (short value);
static member Abs : int16 -> int16
Public Shared Function Abs (value As Short) As Short

Parameters

value
Int16

The value for which to get its absolute.

Returns

The absolute of value.

Implements

Applies to