Bagikan melalui


Single.IModulusOperators<Single,Single,Single>.Modulus Operator

Definisi

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

 static float System.Numerics.IModulusOperators<System.Single,System.Single,System.Single>.operator %(float left, float right) = System::Numerics::IModulusOperators<float, float, float>::op_Modulus;
static float IModulusOperators<float,float,float>.operator % (float left, float right);
static member ( % ) : single * single -> single
 Shared Operator Mod (left As Single, right As Single) As Single Implements IModulusOperators(Of Single, Single, Single).op_Modulus

Parameter

left
Single

Nilai yang right dibagi.

right
Single

Nilai yang membagi left.

Mengembalikan

Modulus atau sisa dibagi left dengan right.

Penerapan

Berlaku untuk