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 06:36:45 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dennison@telepath.com (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: float problem Date: 9 Jul 2002 06:36:44 -0700 Organization: http://groups.google.com/ Message-ID: <4519e058.0207090536.55f497f0@posting.google.com> References: NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1026221804 6768 127.0.0.1 (9 Jul 2002 13:36:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 9 Jul 2002 13:36:44 GMT Xref: archiver1.google.com comp.lang.ada:26967 Date: 2002-07-09T13:36:44+00:00 List-Id: 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.