Table of Contents

Method FloorDiv

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

FloorDiv(int, int)

Floor division that also works for negative m.

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

Parameters

m int

The dividend.

n int

The divisor.

Returns

int

The floor of the division of m by n.