Int32.DivRem(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.