Following up on my question on PGF custom columns I've successfully created a column but now I'm struggling to format it to fixed, two digit precision.

This seems a little hair trigger in terms of follow on questions, for which my apologies, but it seemed sufficiently different to justify a separate query. Thanks




\pgfplotstableset{create on use/cagr/.style={create col/expr={(\thisrowno{3}/\thisrowno{0})^(1/3)*100-100}}

\pgfplotstabletypeset[string type,debug,
column name={},
format=inline,col sep=&,row sep=\\,header=false,ignore chars={\^^M},
columns/cagr/.style={column type={x{3cm}},precision={2},fixed,zerofill}]{



1 Answer 1


The number formatting options aren't applied because you chose the string type option, which turns off the number formatter. Remove string type, and everything works as expected.

  • Thanks @Jake. Incredibly obvious now that I know what I'm looking for! Wouldn't have spotted it in a million years on my own. Commented Nov 5, 2012 at 12:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .