Bewerken

Delen via


Int64.DivRem(Int64, Int64) Method

Definition

Computes the quotient and remainder of two values.

public:
 static ValueTuple<long, long> DivRem(long left, long right) = System::Numerics::IBinaryInteger<long>::DivRem;
public static (long Quotient, long Remainder) DivRem (long left, long right);
static member DivRem : int64 * int64 -> ValueTuple<int64, int64>
Public Shared Function DivRem (left As Long, right As Long) As ValueTuple(Of Long, Long)

Parameters

left
Int64

The value which right divides.

right
Int64

The value which divides left.

Returns

The quotient and remainder of left divided-by right.

Implements

Applies to