IModulusOperators<TSelf,TOther,TResult>.Modulus(TSelf, TOther) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.