I want to use my raw data in my tables and let the siunitx package do the rounding, so that I can easily adjust the shown precision of my tables depending on my future needs. The problem is that on multiple occasions a -0.00001 or something similar will be rounded to -0.0. Although I understand that in some fields it might be good practice to show from which direction the numbers approach zero, it is quite uncommon in my field and I would like all numbers which are rounded to -0.0 to be displayed as 0.0 without the minus sign.
Is there a specific option to do this? I couldn't find anything in the siunitx documentation.
\documentclass{article}
\usepackage{siunitx}
\usepackage{booktabs, tabularx}
\begin{document}
\sisetup{round-mode=places}
\centering
\begin{tabular}{
*2{S[round-precision=1]}
}\toprule
{A} & {B}\\\midrule
-0.0000001 & 2.5823\\
-2.5823 & 0.0000001\\\bottomrule
\end{tabular}
\end{document}
siunitx
on here? Can we ping them? – Azor Ahai -him- Feb 20 '18 at 20:37