Share via


NFloat.Modulus(NFloat, NFloat) 运算符

定义

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

public:
 static System::Runtime::InteropServices::NFloat operator %(System::Runtime::InteropServices::NFloat left, System::Runtime::InteropServices::NFloat right) = System::Numerics::IModulusOperators<System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat, System::Runtime::InteropServices::NFloat>::op_Modulus;
public static System.Runtime.InteropServices.NFloat operator % (System.Runtime.InteropServices.NFloat left, System.Runtime.InteropServices.NFloat right);
static member ( % ) : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Operator Mod (left As NFloat, right As NFloat) As NFloat

参数

left
NFloat

除法的值 right

right
NFloat

除以 left的值。

返回

除以 rightleft余数。

实现

适用于