Udostępnij przez


BigInteger.CreateTruncating<TOther>(TOther) Metoda

Definicja

Tworzy wystąpienie bieżącego typu na podstawie wartości, obcinając wszystkie wartości, które znajdują się poza dopuszczalnym zakresem bieżącego typu.

public:
generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static System::Numerics::BigInteger CreateTruncating(TOther value) = System::Numerics::INumberBase<System::Numerics::BigInteger>::CreateTruncating;
public static System.Numerics.BigInteger CreateTruncating<TOther> (TOther value) where TOther : System.Numerics.INumberBase<TOther>;
static member CreateTruncating : 'Other -> System.Numerics.BigInteger (requires 'Other :> System.Numerics.INumberBase<'Other>)
Public Shared Function CreateTruncating(Of TOther As INumberBase(Of TOther)) (value As TOther) As BigInteger

Parametry typu

TOther

Typ .value

Parametry

value
TOther

Wartość użyta do utworzenia wystąpienia klasy TSelf.

Zwraca

Wystąpienie utworzone na TSelf podstawie valuemetody obcinanie, jeśli value znajduje się poza reprezentowanym zakresem .TSelf

Implementuje

Dotyczy