共用方式為


Int64.IModulusOperators<Int64,Int64,Int64>.Modulus(Int64, Int64) 運算子

定義

將兩個值相除以計算其模數或餘數。

 static long System.Numerics.IModulusOperators<System.Int64,System.Int64,System.Int64>.operator %(long left, long right) = System::Numerics::IModulusOperators<long, long, long>::op_Modulus;
static long IModulusOperators<long,long,long>.operator % (long left, long right);
static member ( % ) : int64 * int64 -> int64
 Shared Operator Mod (left As Long, right As Long) As Long Implements IModulusOperators(Of Long, Long, Long).op_Modulus

參數

left
Int64

除法的值 right

right
Int64

除以 left 的值。

傳回

除以 的 leftright 模數或餘數。

實作

適用於