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




enter image description here

Is this expected behavior?

  • 10
    You are using the wrong command: \SI{12.5}{\milli\gram} is what you want. The \si command is for units and treats . as a separator (inherited from older packages in the area).
    – Joseph Wright
    Commented Dec 2, 2016 at 15:52

2 Answers 2


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


I guess i am replying really late for your query, but you should use \num directly and not nest it in \si.

For a number


and \SI (in upper case) for a number with a unit


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .