Table of Contents

Method FloorMod

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

FloorMod(int, int)

Mod operator that also works for negative m.

[Version(2, 2, 0)]
public static int FloorMod(int m, int n)

Parameters

m int

The m.

n int

The n.

Returns

int

System.Int32.

FloorMod(float, float)

Mod operator that also works for negative m.

[Version(2, 2, 0)]
public static float FloorMod(float m, float n)

Parameters

m float

The m.

n float

The n.

Returns

float

System.Int32.