Int32.Abs(Int32) 方法

定義

計算值的絕對值。

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

參數

value
Int32

傳回

Int32

的絕對 。 value

實作

適用於