Int16.Abs(Int16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.