I've seen some controversy when solving physical equations on whether to put units all the time after I insert a numerical value to a variable with dimensions or to put the final unit at the last equality.
A trivial example;
$F= 5\mathrm{N}, m=3 \textrm{kg}, a=?$
$$F=m a \iff 5\,\mathrm{N}= \left( 3 \,\textrm{kg}\right) a \iff a=\frac{5\,\mathrm{N}}{3 \,\textrm{kg}} =\frac{5}{3} \frac{\mathrm{m}}{\mathrm{s}^2}$$
This feels more consistent when merging algebra in physics, as we can divide the equalities at any step and have $\frac{\mathrm{N}}{\textrm{kg}}=\frac{\mathrm{m}}{\mathrm{s}^2}$ while if we didn't insert units we would have $1=\frac{\mathrm{m}}{\mathrm{s}^2}$. Inspite of this, many physics teachers consult me to only includ the units at the end result.
Additional info; We usually work in SI.