Math & Sciencesiunitx: rounding without final .?

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
svenh
Posts: 2
Joined: Sun Sep 12, 2010 1:07 pm

siunitx: rounding without final .?

Post by svenh »

Hi all.

I like siunitx very much (version 2.0n).
I use rounding from time to time in tabulars and column definitions
like the following:
S[table-format=6,round-mode=places,round-precision=0]
Works nicely, but 123.01 leads to 123. and not 123
What am I missing?

Thanks for your help!
Sven
Last edited by svenh on Tue Sep 14, 2010 5:41 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

svenh
Posts: 2
Joined: Sun Sep 12, 2010 1:07 pm

Re: siunitx: rounding without final .?

Post by svenh »

To answer my own question: I am missing a newer version of siunitx :-)
The error is fixed in version 2.0s, which one can get via
updates in TeX Live 2010.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

siunitx: rounding without final .?

Post by localghost »

Now that the problem is obviously solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in Section 3 of the Board Rules (to be read before posting).


Best regards and welcome to the board
Thorsten
Post Reply