Compartir a través de


Int32.DivRem(Int32, Int32) Método

Definición

Calcula el cociente y el resto de dos valores.

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)

Parámetros

left
Int32

Valor que right se divide.

right
Int32

Valor que divide left.

Devoluciones

Cociente y resto de left divididos por right.

Implementaciones

Se aplica a