BigInteger.Abs(BigInteger) Metoda

Definicja

Pobiera wartość bezwzględną BigInteger obiektu.

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

Parametry

value
BigInteger

Liczba.

Zwraca

Wartość bezwzględna .value

Implementuje

Uwagi

Wartość bezwzględna liczby to liczba bez znaku, jak pokazano w poniższej tabeli.

value Parametr Wartość zwracana
value>= 0 value
value< 0 value * -1

Metoda jest równoważna Abs metodzie Math.Abs dla pierwotnych typów liczbowych.

Dotyczy

Zobacz też