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絕對值。

實作

適用於