I'm trying to implement an invoice calculation in LaTeX and using PGF as the method to do calculations. I've run into an odd problem where it seems that PGF calculates things incorrectly and I'm not sure what's causing it. Here's a minimal example:
\documentclass{standalone}
\usepackage{pgf}
\usepgflibrary{fpu}
\pgfkeys{
/pgf/fpu=true,
/pgf/number format/.cd,
precision=2,
fixed,
fixed zerofill,
use comma,
1000 sep={.}
}
\begin{document}
\pgfmathparse{(1*800050)}\pgfmathprintnumber{\pgfmathresult}
\end{document}
Why does this output 800.050,05 when it should output 800.050,00?

