Int32.IModulusOperators<Int32,Int32,Int32>.Modulus(Int32, Int32) 操作员

定义

将两个值相除以计算其取模或余数。

 static int System.Numerics.IModulusOperators<System.Int32,System.Int32,System.Int32>.operator %(int left, int right) = System::Numerics::IModulusOperators<int, int, int>::op_Modulus;
static int IModulusOperators<int,int,int>.operator % (int left, int right);
static member ( % ) : int * int -> int
 Shared Operator Mod (left As Integer, right As Integer) As Integer Implements IModulusOperators(Of Integer, Integer, Integer).op_Modulus

参数

left
Int32

除法 right 的值。

right
Int32

除以 的值 left

返回

的模数或余数 left 除以 right

实现

适用于