Focal Point
Eliminating Decimals

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7901078331

June 17, 2005, 07:58 PM
KarateExplosion
Eliminating Decimals
I have graph that shows days across the x-axis. But they display as 1.00, 2.00 etc. How can I make them display as 1, 2 etc. Thanks in advance
June 17, 2005, 08:08 PM
dhagen
What is the format of you Day field?
June 17, 2005, 08:16 PM
KarateExplosion
D20.2 I have a report that shows the same data and the code to get rid of the decimals is:
DAYS/D20, but I get an error when using that for the graph. Any help is greatly appreciated.
June 20, 2005, 03:23 PM
HÃ¥kan
The following works fine for me:

SET GRAPHEDIT=OFF
DEFINE FILE CAR
DAY/D20 = IF COUNTRY EQ 'ENGLAND' THEN 1 ELSE IF COUNTRY EQ 'SWEDEN' THEN 2 ELSE 3;
END
GRAPH FILE CAR
SUM DC ACROSS DAY
END

What release and platform are you on? We're on 5.2.7 on IBM iSeries.