UInt16.IModulusOperators<UInt16,UInt16,UInt16>.Modulus 操作员

定义

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

 static System::UInt16 System.Numerics.IModulusOperators<System.UInt16,System.UInt16,System.UInt16>.operator %(System::UInt16 left, System::UInt16 right) = System::Numerics::IModulusOperators<System::UInt16, System::UInt16, System::UInt16>::op_Modulus;
static ushort IModulusOperators<ushort,ushort,ushort>.operator % (ushort left, ushort right);
static member ( % ) : uint16 * uint16 -> uint16
 Shared Operator Mod (left As UShort, right As UShort) As UShort Implements IModulusOperators(Of UShort, UShort, UShort).op_Modulus

参数

left
UInt16

除法 right 的值。

right
UInt16

除以 的值 left

返回

的模数或余数 left 除以 right

实现

适用于