共用方式為


Int64.DivRem(Int64, Int64) 方法

定義

計算兩個值的商數和餘數。

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)

參數

left
Int64

除法的值 right

right
Int64

除以 left 的值。

傳回

除以 leftright 的商數和餘數。

實作

適用於