Rediger

Del via


Int32.DivRem(Int32, Int32) Method

Definition

Computes the quotient and remainder of two values.

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

Parameters

left
Int32

The value which right divides.

right
Int32

The value which divides left.

Returns

The quotient and remainder of left divided-by right.

Implements

Applies to