Int16.IModulusOperators<Int16,Int16,Int16>.Modulus(Int16, Int16) Operator
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.
static short System.Numerics.IModulusOperators<System.Int16,System.Int16,System.Int16>.operator %(short left, short right) = System::Numerics::IModulusOperators<short, short, short>::op_Modulus;
C#
static short IModulusOperators<short,short,short>.operator %(short left, short right);
static member ( % ) : int16 * int16 -> int16
Shared Operator Mod (left As Short, right As Short) As Short Implements IModulusOperators(Of Short, Short, Short).op_Modulus
- left
- Int16
The value that right
divides.
- right
- Int16
The value that divides left
.
The modulus or remainder of left
divided by right
.
Product | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: