I am getting incorrect uncertainties displayed for integer-valued numbers using the siunitx
package. It seems to insert one decimal place and divide the uncertainty I specify by 10.
This is a new problem since upgrading to the 2014-09-29 package version.
\documentclass{article}
\usepackage{siunitx}
\sisetup{separate-uncertainty = true} % use +/- symbol for uncertainty values
\begin{document}
Using integers,
\verb+\num{30 \pm 2}+ gives \num{30 \pm 2}
but I want the value to appear as \num{30}
and the uncertainty should be \num{\pm 2} with no decimal parts.
Same problem happens using \verb+\SI+ and in tables using S-columns.
Things seem to work fine if the base value is not an integer:
\verb+\num{30.5 \pm 2}+ gives \num{30.5 \pm 2}
\end{document}
siunitx
; with the version in TeX Live 2013 I get “30 ± 2”. – egreg Oct 2 '14 at 20:20