Bagikan melalui


Int64.DivRem(Int64, Int64) Metode

Definisi

Menghitung quotient dan sisa dari dua nilai.

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

Parameter

left
Int64

Nilai yang right dibagi.

right
Int64

Nilai yang membagi left.

Mengembalikan

Quotient dan sisa dibagi-dengan leftright.

Penerapan

Berlaku untuk