From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,319c841368a8705a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-09 12:03:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp1.phx1.gblx.net!nntp.gblx.net!nntp.gblx.net!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3D2B3383.B2CBA049@acm.org> From: Jeffrey Carter X-Mailer: Mozilla 4.7 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: float problem References: <4519e058.0207090536.55f497f0@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 09 Jul 2002 19:03:35 GMT NNTP-Posting-Host: 63.184.8.244 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1026241415 63.184.8.244 (Tue, 09 Jul 2002 12:03:35 PDT) NNTP-Posting-Date: Tue, 09 Jul 2002 12:03:35 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:26975 Date: 2002-07-09T19:03:35+00:00 List-Id: Ted Dennison wrote: > > Jan Prazak wrote in message news:... > > I forgot to ask someting: is it posible to change the exponent output to > > a "normal" output? It is possible in Pascal. > > > > I mean I would rather see > > > > -0.70000 > > > > instead of > > > > -7.00000E-01 > > > > or this would be even better: simply -0.7 > > Some compilers will do that if you convert the floating-point value > into a fixed-point value (eg: Duration), and dispaly that. Call Put with Exp => 0. -- Jeff Carter "I unclog my nose towards you." Monty Python & the Holy Grail