Using integer arithmetic, it is true that:
$$ (\frac{x}{y})\div z = (\frac{x}{z})\div y = \frac {x}{(y \times z)} $$
Intermediate results must be integers also (so this practically relates to computation with integer values).
Rounding is by truncation of the remainder (that is, towards zero).
If it is not always true, what are the general cases when it fails?
Does this derive from some law of number theory?