IModulusOperators<TSelf,TOther,TResult>.Modulus(TSelf, TOther) Operator

Definicja

Dzieli dwie wartości w celu obliczenia ich modulu lub reszty.

public:
 static TResult operator %(TSelf left, TOther right);
public static abstract TResult operator % (TSelf left, TOther right);
static member ( % ) : 'Self * 'Other -> 'Result
Public Shared Operator Mod (left As TSelf, right As TOther) As TResult

Parametry

left
TSelf

Wartość, która right dzieli.

right
TOther

Wartość dzieląca leftwartość .

Zwraca

TResult

Modulus lub pozostała część podzielona left przez .right

Dotyczy