UInt16.IModulusOperators<UInt16,UInt16,UInt16>.Modulus 运算符
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将两个值相除以计算其取模或余数。
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
。
实现
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈