共用方式為


UInt32.DivRem(UInt32, UInt32) 方法

定義

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

public:
 static ValueTuple<System::UInt32, System::UInt32> DivRem(System::UInt32 left, System::UInt32 right) = System::Numerics::IBinaryInteger<System::UInt32>::DivRem;
public static (uint Quotient, uint Remainder) DivRem (uint left, uint right);
static member DivRem : uint32 * uint32 -> ValueTuple<uint32, uint32>
Public Shared Function DivRem (left As UInteger, right As UInteger) As ValueTuple(Of UInteger, UInteger)

參數

left
UInt32

除法的值 right

right
UInt32

除以 left 的值。

傳回

除以 leftright 的商數和餘數。

實作

適用於