From: ams AT ludd DOT luth DOT se (Martin Str|mberg) Newsgroups: comp.os.msdos.djgpp Subject: Rounding (was: (none)) Date: 8 Jul 1998 22:58:37 GMT Organization: University of Lulea, Sweden Lines: 13 Message-ID: <6o0tit$jud$1@news.luth.se> References: <199807082216 DOT RAA10871 AT cue DOT satnet DOT net> NNTP-Posting-Host: my21.sm.luth.se To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk It would help if you used the suject field when posting. Ronald Patino G. (logan AT cue DOT satnet DOT net) wrote: : ex, 23.123123123 Yes, do "floor( 23.1234123123 + 0.5 )" or "ceil( 23.1234123123 - 0.5 )" Or even "(int)23.123123123" in this particular case. Messiaen, Le Banquet Celeste, MartinS