UInt16.DivRem(UInt16, UInt16) Methode

Definitie

Berekent het quotiënt en de rest van twee waarden.

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

Parameters

left
UInt16

De waarde die right wordt gedeeld.

right
UInt16

De waarde die wordt gedeeld left.

Retouren

Het quotiënt en de rest van left gedeeld door right.

Implementeringen

Uitzonderingen

right is nul.

Van toepassing op