Confusion in fraction notation

in elementary school math the fraction $x\frac{y}{z}$ usually means $x+\frac{y}{z}$ and is called a mixed fraction.

However these are almost never used after junior high.

Most of the time when you see $x\frac{y}{z}$ the two terms should be multiplied, so it is equal to $\frac{xy}{z}$.


I don't think I've ever seen $x \frac{y}{z}$ used to mean $x + \frac{y}{z}$ except when $x$, $y$ and $z$ are literal integers (e.g. $2 \frac{3}{4}$). That's not to say it never happens, but it would be terribly confusing.


Here is my attempt at a helpful rule:

The expression $x\frac{y}{z}$ always means $x\times\frac{y}{z}$ except when $x,y,$ and $z$ are all integers written in decimal notation; then it means $x+\frac{y}{z}$.

So $n\frac{n^2+5}{4}$ means $n\times\frac{n^2+5}{4}$, but $3\frac14$ means $3+\frac14$.