Redigera

Dela via


UInt16.IModulusOperators<UInt16,UInt16,UInt16>.Modulus Operator

Definition

Divides two values together to compute their modulus or remainder.

 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

Parameters

left
UInt16

The value that right divides.

right
UInt16

The value that divides left.

Returns

The modulus or remainder of left divided by right.

Implements

Applies to