BigInteger.CreateTruncating<TOther>(TOther) Méthode

Définition

Crée une instance du type actuel à partir d’une valeur, en tronqué toutes les valeurs qui se trouvent en dehors de la plage représentable du type actuel.

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

Paramètres de type

TOther

Type d'élément value.

Paramètres

value
TOther

Valeur utilisée pour créer l’instance de TSelf.

Retours

Instance de TSelf créée à partir de value, tronquée si value se trouve en dehors de la plage représentable de TSelf.

Implémente

S’applique à