NFloat.Modulus(NFloat, NFloat) 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將兩個值相除以計算其餘數。
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
其餘部分。