Bagikan melalui


Int16.DivRem(Int16, Int16) Metode

Definisi

Menghitung quotient dan sisa dari dua nilai.

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)

Parameter

left
Int16

Nilai yang right dibagi.

right
Int16

Nilai yang membagi left.

Mengembalikan

Quotient dan sisa dibagi-dengan leftright.

Penerapan

Berlaku untuk