Int16.DivRem(Int16, Int16) 方法

定义

计算两个值的商和余数。

public:
 static ValueTuple<short, short> DivRem(short left, short right) = System::Numerics::IBinaryInteger<short>::DivRem;
public static (short Quotient, short Remainder) DivRem (short left, short right);
static member DivRem : int16 * int16 -> ValueTuple<int16, int16>
Public Shared Function DivRem (left As Short, right As Short) As ValueTuple(Of Short, Short)

参数

left
Int16

除法 right 的值。

right
Int16

除以 的值 left

返回

除以 rightleft商和余数。

实现

适用于