IModulusOperators<TSelf,TOther,TResult>.Modulus(TSelf, TOther) 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将两个值相除以计算其模数或余数。
public:
static TResult operator %(TSelf left, TOther right);
public static TResult operator % (TSelf left, TOther right);
static member ( % ) : 'Self * 'Other -> 'Result
Public Shared Operator Mod (left As TSelf, right As TOther) As TResult
参数
- left
- TSelf
除法 right
的值。
- right
- TOther
除 left
法的值。
返回
- TResult
除以的right
模数或余数left
。