I am using pdflatex to create a scientific document and I'd like to know if there is a way to change the font of numbers in math equations to a sans serif type.
Right now with the following font settings the combination of serif numbers and sans serif units looks weird imo.
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[scaled]{uarial}
\renewcommand{\familydefault}{\sfdefault}
I found this solution but is this the best way to do it ?