共用方式為


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的值。

傳回

right以的left其餘部分。

實作

適用於