共用方式為


UInt16.DivRem(UInt16, UInt16) 方法

定義

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

public:
 static ValueTuple<System::UInt16, System::UInt16> DivRem(System::UInt16 left, System::UInt16 right) = System::Numerics::IBinaryInteger<System::UInt16>::DivRem;
public static (ushort Quotient, ushort Remainder) DivRem (ushort left, ushort right);
static member DivRem : uint16 * uint16 -> ValueTuple<uint16, uint16>
Public Shared Function DivRem (left As UShort, right As UShort) As ValueTuple(Of UShort, UShort)

參數

left
UInt16

除法的值 right

right
UInt16

會除以 left 的值。

傳回

right 以 的 left 商數和餘數。

實作

適用於