Bagikan melalui


UInt16.DivRem(UInt16, UInt16) Metode

Definisi

Menghitung quotient dan sisa dari dua nilai.

public:
 static ValueTuple<System::UInt16, System::UInt16> DivRem(System::UInt16 left, System::UInt16 right) = System::Numerics::IBinaryInteger<System::UInt16>::DivRem;
public static (ushort Quotient, ushort Remainder) DivRem (ushort left, ushort right);
static member DivRem : uint16 * uint16 -> ValueTuple<uint16, uint16>
Public Shared Function DivRem (left As UShort, right As UShort) As ValueTuple(Of UShort, UShort)

Parameter

left
UInt16

Nilai yang right dibagi.

right
UInt16

Nilai yang membagi left.

Mengembalikan

Quotient dan sisa dibagi-dengan leftright.

Penerapan

Berlaku untuk