Bagikan melalui


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

Definisi

Membagi dua nilai bersama-sama untuk menghitung modulus atau sisanya.

 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

Parameter

left
UInt16

Nilai yang right dibagi.

right
UInt16

Nilai yang membagi left.

Mengembalikan

Modulus atau sisa dibagi left dengan right.

Penerapan

Berlaku untuk