diff -uNrp Atlas.orig/src/Graphs.cxx Atlas/src/Graphs.cxx --- Atlas.orig/src/Graphs.cxx 2010-01-31 23:59:55.000000000 +0100 +++ Atlas/src/Graphs.cxx 2010-03-11 09:26:26.678024444 +0100 @@ -1289,7 +1289,10 @@ void Graphs::Values::drawAxis(float from // Now label the axis. AtlasString format, buf; - format.printf("%%.%df", _decimals); + if (_decimals > 0) + format.printf("%%.%df", _decimals); + else + format.printf("%%.f"); for (int i = 0; i <= intervals; i++) { float tick = from + (i * _d); // In general, we just label major ticks. However, there