When I studied physics (both in high-school and university), in all of the worked examples, variables would be used to denote physical quantities, and thus include dimensional units.
For example, with $F$ being a physical variable denoting force, the variable itself could be calculated in units of Newtons: $$ F=2\,\text{kg} * 5\,\text{m/s${}^2$}=10\,\text{N} $$ But I've recently started tutoring an engineering student, and saw in the worked examples from his lectures the use of variables as plain numbers, with the unit being outside the variable.
So modifying the same example, $F$ would now be a pure number that is multiplied by Newtons: $$ F\,\text{N} = 2\,\text{kg} * 5\,\text{m/s${}^2$} =10\,\text{N} \Rightarrow F=10 $$
Is there an educational benefit to one notational approach vs. the other? Has there been research done on this? Is this more relevant to particular levels of education or particular fields?
float tk = int 5* (float tf - float 32) / int 9 + float 273.15. Yuck. – dmckee --- ex-moderator kitten Oct 08 '15 at 02:05