# CTAN Update: numprint package

Date: February 17, 2008 11:03:02 PM CET
On Sun, 17 Feb 2008 Harald Harders submitted a new version of the numprint package. Location on CTAN: macros/latex/contrib/numprint Summary description: Update of the numprint package to address two bugs License type: lppl Announcement text:
Print numbers with a separator every three digits and convert numbers given as 12345.6e789 to 12\,345,6\cdot 10^{789}. Numbers are printed in the current mode (text or math) in order to use the correct font. Many things, including the decimal sign, the thousand separator, as well as the product sign can be changed by the user, e.g., to reach 12,345.6\times 10^{789}. If requested, numprint can round numbers to a given number of digits. If an optional argument is given it is printed upright as unit. Numbers can be rounded to a given number of digits. The package supports an automatic, language-dependent change of the number format. Tabular alignment using the tabular(*), array, tabularx, and longtable environments (similar to the dcolumn and rccol packages) is supported using all features of numprint. Additional text can be added before and after the formatted number. 2007/05/18 v1.38 Harald Harders (h.harders at tu-bs.de) - Moved counters \nprt at curpos and \nprt at rndpos outside the macro definitions to avoid an overflow of counters - Replaced \stepcounter and \addtocounter by \advance because otherwhise, \numprint does not work inside \ensuremath{\text{$...$}}.
This package is located at http://mirror.ctan.org/macros/latex/contrib/numprint . More information is at http://tug.ctan.org/info/?id=numprint (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html . _______________________________________________ Thanks for the upload. For the CTAN Team Rainer Schöpf

## numprint – Print numbers with separators and exponent if necessary

The package numprint prints numbers with a separator every three digits and converts numbers given as 12345.6e789 to 12\,345,6\cdot 10^{789}. Numbers are printed in the current mode (text or math) in order to use the correct font.

Many things, including the decimal sign, the thousand separator, as well as the product sign can be changed by the user, e.g., to reach 12,345.6\times 10^{789}.

If an optional argument is given it is printed upright as unit. Numbers can be rounded to a given number of digits. The package supports an automatic, language-dependent change of the number format.

Tabular alignment using the tabular(*), array, tabularx, and longtable environments (similar to the dcolumn and rccol packages) is supported using all features of numprint. Additional text can be added before and after the formatted number.

 Package numprint Version 1.39 Copyright 2000–2005, 2007, 2008, 2012 Harald Harders Maintainer Harald Harders (inactive)

more