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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.