Sdílet prostřednictvím


Int16.DivRem(Int16, Int16) Metoda

Definice

Vypočítá podíl a zbytek dvou hodnot.

public:
 static ValueTuple<short, short> DivRem(short left, short right) = System::Numerics::IBinaryInteger<short>::DivRem;
public static(short Quotient, short Remainder) DivRem(short left, short right);
static member DivRem : int16 * int16 -> ValueTuple<int16, int16>
Public Shared Function DivRem (left As Short, right As Short) As ValueTuple(Of Short, Short)

Parametry

left
Int16

Hodnota, která right se rozdělí.

right
Int16

Hodnota, která rozdělí left.

Návraty

Podíl a zbytek děleného rightpodílu left .

Implementuje

Výjimky

right je nula.

Platí pro