summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex11
1 files changed, 3 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex b/Master/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
index a3a36d82541..f133c6d4956 100644
--- a/Master/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
@@ -33,7 +33,7 @@
}
-\global\newif\ifpgfmathfloatcomparison
+\newif\ifpgfmathfloatcomparison
\newif\ifpgfmathfloatroundhasperiod
\newif\ifpgfmathprintnumberskipzeroperiod
@@ -1010,7 +1010,7 @@
fixed zerofill/.default=true,
sci zerofill/.is if= pgfmathfloat@usezerofill@sci,
sci zerofill/.default=true,
- zerofill/.style= {/pgf/number format/fixed zerofill=#1,/pgf/number format/sci zerofill=#1},
+ zerofill/.style= {/pgf/number format/fixed zerofill={#1},/pgf/number format/sci zerofill={#1}},
zerofill/.default= true,
precision/.store in= \pgfmathfloat@round@precision,
sci precision/.code={%
@@ -1637,12 +1637,7 @@
% variables in /pgf/number format).
%
% You may specify optional arguments with \pgfmathprintnumber[...].
-\def\pgfmathprintnumber{%
- % \protect allows to supply \pgfmathprintnumber inside of latex
- % captions. The \csname yields \relax in case protect is undefined.
- \pgf@texdist@protect\pgfmathprintnumber@protected
-}%
-\def\pgfmathprintnumber@protected{%
+\pgfutil@protected\def\pgfmathprintnumber{%
\pgfutil@ifnextchar[%
{\pgfmathprintnumber@OPT}%
{\pgfmathprintnumber@noopt}%