Removing Decimal Points in Reports
Posted in 1995
Mark Denham — — source: Informix-list mailing list archive (1991-1998)
Ken Integer columns can only hold whole numbers so I assume you have made a mistake in the posting. If the numbers you are holding all have 2 decimal figures, why not print it by doing this DEFINE pvar INTEGER LET pvar = real_estate * 100 PRINT pvar USING "#####&" Since pvar is an integer, there is no need to specify the print format unless you want to ensure that the field is a fixed width on the report. By the way, you might be considering the following: PRINT real_estate * 100 USING ..... DON'T. It can cause you problems as runtime. It is better to assign the results to a temp variable. Mark Denham BBC London, UK Mark.Denham@bbc.co.uk