diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgfplots/pgfplotshelpers.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pgfplots/pgfplotshelpers.sty | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/pgfplots/pgfplotshelpers.sty b/Master/texmf-dist/tex/latex/pgfplots/pgfplotshelpers.sty index 203f16379ee..304448fbef4 100644 --- a/Master/texmf-dist/tex/latex/pgfplots/pgfplotshelpers.sty +++ b/Master/texmf-dist/tex/latex/pgfplots/pgfplotshelpers.sty @@ -22,7 +22,9 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\ProvidesPackage{pgfplotshelpers}[2008/31/01 Version 0.9] +\ProvidesPackage{pgfplotshelpers}[2008/02/17 Version 0.9.4] + +\newtoks\pgfplots@toka \def\prettyprintnumberprecision{2} @@ -54,10 +56,11 @@ % It uses \prettyprintnumberprecision digits after the comma. \def\prettyprintnumber#1{% \begingroup -%\tracingmacros=2\tracingcommands=2 - \edef\argument{#1}% - \expandafter\prettyprintnumber@impl\argument.\END -%\tracingmacros=0\tracingcommands=0 +% \edef\argument{#1}% +% \expandafter\prettyprintnumber@impl\argument.\END + \edef\argument{#1\noexpand\prec\prettyprintnumberprecision}% + \expandafter\fixedpointround\argument\to\result + \result \endgroup } |