From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: modf BROKEN ?? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: <9v0eos087dgjaiootff5c9okgh8ca1jrps@4ax.com> References: X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 20 X-Trace: /Kkf2OeXeBkd+oh9YQc+AlCIDAGt0gwocfzJHusWDw7ThW45J4HGR+c3Jg77V61zKA9IFBwXyiC3!zsTvhP4/mQhfIVaIaEeSiCAM0USGr/pul1UiWKjRLUCW17c1AOR23N4AmIgDQPMRibnkSsk4Qpp6!6w== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 01 Aug 2000 17:06:34 GMT Distribution: world Date: Tue, 01 Aug 2000 17:06:34 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Tue, 01 Aug 2000 12:23:06 -0400, Radical NetSurfer wrote: >At 5.0, 6.0, etc, Fract display as "1.0" because of a rounding error >in the printf output. Its only an "optical illusion", and if >%3.21 is used, you won't see it. > >the question is obvious: >HOW do I maintain a %3.3f output, but NOT get the >1.0 "optical illusion" ??? Round manually. -- Damian Yerrick "I refuse to listen to those who refuse to listen to reason." See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/