TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to to round numbers in latex in a way, such that 1.23456e-10 rounded to two places becomes zero and not 1.23e-10.

One solution with siunitx is

\num[round-mode=places,scientific-notation = fixed,fixed-exponent = 0 ,round-precision = 2]{1.23456e-6}

But if the digits get too many (>10) it fails, with the the error message

! Number too big.

As explained in siunitx number too big when trying to round

the command


had the same problems, which are fixed now.

But, if I add scientific-notation = fixed, then the error reappears.

Does anybody know a fix for that problem?

share|improve this question
I'd suggest reporting it in the bug tracker (bitbucket.org/josephwright/siunitx/issues) :-) I have a couple of other issues to look at, so this should be doable by the weekend. – Joseph Wright May 2 '12 at 14:04
@Joseph: I did. Would be great to see that fixed. Thanks a lot. – Vince Busch May 2 '12 at 14:43
Bug fixed in source, CTAN update later today. – Joseph Wright May 3 '12 at 9:36

Fixed in the current release of siunitx (v2.5c):

    round-mode          = places,
    scientific-notation = fixed,
    fixed-exponent      = 0,
    round-precision     = 2

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.