語言

UInt64.IModulusOperators<UInt64,UInt64,UInt64>.Modulus 運算子

定義

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

 static System::UInt64 System.Numerics.IModulusOperators<System.UInt64,System.UInt64,System.UInt64>.operator %(System::UInt64 left, System::UInt64 right) = System::Numerics::IModulusOperators<System::UInt64, System::UInt64, System::UInt64>::op_Modulus;
static ulong IModulusOperators<ulong,ulong,ulong>.operator %(ulong left, ulong right);
static member ( % ) : uint64 * uint64 -> uint64
 Shared Operator Mod (left As ULong, right As ULong) As ULong Implements IModulusOperators(Of ULong, ULong, ULong).op_Modulus

參數

left
UInt64

那個分 right 開的價值。

right
UInt64

除以 left的值。

傳回

模數或剩 left 餘數除以 right。

實作

適用於