UInt32.DivRem(UInt32, UInt32) Metod

Definition

Beräknar kvoten och resten av två värden.

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

Parametrar

left
UInt32

Värdet som right delas.

right
UInt32

Värdet som delar left.

Returer

Kvoten och resten av left dividerat med right.

Implementeringar

Undantag

right är noll.

Gäller för