Bewerken

Delen via


Int16.DivRem(Int16, Int16) Method

Definition

Computes the quotient and remainder of two values.

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)

Parameters

left
Int16

The value which right divides.

right
Int16

The value which divides left.

Returns

The quotient and remainder of left divided-by right.

Implements

Applies to