Method Mod
Mod(Int32, Int32)
C#'s % operator uses a truncated definition. This is an alternative floored definition
Declaration
public static int Mod(int a, int b)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | a | Left side. |
System.Int32 | b | Right side. |
Returns
Type | Description |
---|---|
System.Int32 | a mod b |