Single.IModulusOperators<Single,Single,Single>.Modulus 操作员

定义

将两个值相除以计算其取模或余数。

 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

参数

left
Single

除法 right 的值。

right
Single

除以 的值 left

返回

的模数或余数 left 除以 right

实现

适用于