Remainder (source code)

= Remainder
{title2=$r=a-bq,\quad0\leq r<b$}
{wiki}

For an <integer> $a$ and positive <integer> $b$, the remainder in <Euclidean division> is the unique <integer> $r$ in $0\leq r<b$ for which $a=bq+r$ with an <integer> $q$. It is not the full <quotient> $a/b$.