From Dev.to
The math behind a tile calculator (and why 10% extra is not always enough)
"How many tiles do I need?" sounds like one division. It is, until you try to answer it well enough that someone can take the number to a tile shop. Here is the math I ended up with while building Qui...
