共用方式為


UInt64.DivRem(UInt64, UInt64) 方法

定義

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

public:
 static ValueTuple<System::UInt64, System::UInt64> DivRem(System::UInt64 left, System::UInt64 right) = System::Numerics::IBinaryInteger<System::UInt64>::DivRem;
public static (ulong Quotient, ulong Remainder) DivRem (ulong left, ulong right);
static member DivRem : uint64 * uint64 -> ValueTuple<uint64, uint64>
Public Shared Function DivRem (left As ULong, right As ULong) As ValueTuple(Of ULong, ULong)

參數

left
UInt64

除法的值 right

right
UInt64

會除以 left 的值。

傳回

right 以 的 left 商數和餘數。

實作

適用於