Integer division that rounds up
From wikiluntti
Introduction
Usual integer division rounds down: Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \frac ab = \left \lfloor \frac ab \right \rfloor} for . To round up (if overflow is not an issue), you can use following algorithm with the usual roundig down division: Failed to parse (Conversion error. Server ("https://wikimedia.org/api/rest_") reported: "Cannot get mml. Server problem."): {\displaystyle q={\frac {x+y-1}{y}}=\left\lceil {\frac {x}{y}}\right\rceil .}