Int32.DivRem(Int32, Int32) Method
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)
- left
- Int32
The value which right
divides.
- right
- Int32
The value which divides left
.
The quotient and remainder of left
divided-by right
.
Produkt | Versioner |
---|---|
.NET | 7, 8, 9, 10 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: