$a\bmod m$ is the unique number $b\in \{0,\ldots, m-1\}$ such that $a-b|m$.
$a\ \mathrm{div}\ m$ is the unique number $c$ such that $a-c\cdot m = a\bmod m$.
Your case gives rise to $a = -2\cdot 99 + 87$ so $a\bmod m = 87$ and $a\ \mathrm{div}\ m = -2$
$a\bmod m$ is the unique number $b\in \{0,\ldots, m-1\}$ such that $a-b|m$.
$a\ \mathrm{div}\ m$ is the unique number $c$ such that $a-c\cdot m = a\bmod m$.
Your case gives rise to $a = -2\cdot 99 + 87$ so $a\bmod m = 87$ and $a\ \mathrm{div}\ m = -2$