Re: Printing decimal without padding
Posted in 1993
Dennis Pimple — — source: Informix-list mailing list archive (1991-1998)
root@candle.uucp (Bruce Momjian) writes: >Is it possible to print a decimal variable's contents in a report >without it being padded with spaces? If I output 434.23,"X",832.11, I >should get: >434.23X832.11 >I need this because I am outputting a Lotus-format file, and am getting >a line-too-long from Lotus because my file has too much padding: >" 4.32", " 323.12" I assume you have something like: PRINT var1, "X", var2 Change it to: PRINT var1 USING "<<<<<<<&.&&", "X", var2 USING "<<<<<<<&.&&" There are examples of USING statements for numbers and dates in the 4GL and I-SQL manuals. ================ Dennis J. Pimple Informix CSE / Denver