comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jrcarter@acm.org>
Subject: Re: float problem
Date: Tue, 09 Jul 2002 19:03:35 GMT
Date: 2002-07-09T19:03:35+00:00	[thread overview]
Message-ID: <3D2B3383.B2CBA049@acm.org> (raw)
In-Reply-To: 4519e058.0207090536.55f497f0@posting.google.com

Ted Dennison wrote:
> 
> Jan Prazak <janp9@gmx.net> wrote in message news:<pan.2002.07.08.21.58.02.911937.7736@gmx.net>...
> > 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



  reply	other threads:[~2002-07-09 19:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-07 15:06 gnat: float problem Jan Prazak
2002-07-07 14:08 ` Frank J. Lhota
2002-07-08 20:20   ` Jan Prazak
2002-07-08 18:10     ` David C. Hoos
2002-07-09  1:05       ` Robert A Duff
2002-07-09  2:14         ` David C. Hoos, Sr.
2002-07-08 18:19     ` Frank J. Lhota
2002-07-08 19:12     ` tmoran
2002-07-08 19:28     ` achrist
2002-07-08 23:00     ` Jan Prazak
2002-07-08 23:00     ` Jan Prazak
2002-07-08 20:34       ` David C. Hoos
2002-07-09 13:36       ` Ted Dennison
2002-07-09 19:03         ` Jeffrey Carter [this message]
2002-07-09 20:07         ` Robert Dewar
2002-07-07 21:04 ` gnat: " achrist
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox