1

I was trying to round numbers with siunitx and got the following error:

Number too big \num{0.125555555555}

The problem occured when I changed the round-half parameter to even.

\documentclass{article}

\usepackage{siunitx}
%\sisetup{round-mode = places, round-precision = 2, round-half = up}% this works
\sisetup{round-mode = places, round-precision = 2, round-half = even}% this fails

\begin{document}
\num{0.125555555555}
\end{document}

I found similar questions here:

But it always says this problem should be fixed and one should update their version of siunitx, but I am already on the current version:

Package: siunitx 2018/05/17 v2.7s A comprehensive (SI) units package

  • 2
    Yeah .. fixed in development version which I keep wanting to release ... – Joseph Wright Apr 18 '19 at 12:32
  • @JosephWright I updated siunitx to the current version "2.7u 2020-01-15", but I still get the same error "Number too big", when using round-half = even. – Gilean0709 Jan 28 at 16:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.