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的值。

返回

除以 rightleft商和余数。

实现

适用于