语言

Int16.Abs(Int16) 方法

定义

计算值的绝对值。

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

参数

value
Int16

要为其获取其绝对值的值。

返回

的绝对值 value。

实现

适用于