แก้ไข

แชร์ผ่าน


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

Definition

Divides two values together to compute their modulus or remainder.

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

Parameters

left
TSelf

The value which right divides.

right
TOther

The value which divides left.

Returns

TResult

The modulus or remainder of left divided by right.

Applies to