Is it a common or accepted practice to specify measurement units directly in the formula?
Something like
where X is given in miles, Y in kilometers, and Z in millimeters.
Is it a common or accepted practice to specify measurement units directly in the formula?
Something like
where X is given in miles, Y in kilometers, and Z in millimeters.
where $x$ is given in miles, $y$ in kilometers, and $z$ in millimeters.
To some of us, there is a difference between “the distance is $x$ miles” and “the distance $x$ is given/expressed in miles”.
For example, $x$ is definitely a numerical value (e.g., $x=37)$ in the former, whereas it might equal $37\,\text{miles}$ in the latter.
I think
is fine if you wish to emphasise the differing units involved; otherwise, better to just write $$x=\frac{123y-z}{456}$$ then define $x,y$ and $z$ using the former description above.