[Tex/LaTex] siunitx and missing decimal point

siunitx

\si seems to be not showing decimal points, unless I specifically specify \num.

\documentclass[12pt]{report}
\usepackage{siunitx}

\begin{document}
\si{12.5\milli\gram}

\si{\num{12.5}\milli\gram}
\end{document}

enter image description here

Is this expected behavior?

Best Answer

The command \si{units} is for units only. You have to use the \SI{number}{units} for what you want to do.

Related Question