共用方式為


Half.Modulus(Half, Half) 運算子

定義

將兩個值分割在一起,以計算其模數或餘數。

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

參數

left
Half

right 除的值。

right
Half

left的值。

傳回

left 除以 right的模數或餘數。

實作

適用於