From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: float value without power
Date: Thu, 19 Jun 2003 13:08:01 +0200
Date: 2003-06-19T13:08:01+02:00 [thread overview]
Message-ID: <bcs5d9$mit1d$1@ID-77047.news.dfncis.de> (raw)
In-Reply-To: bcs323$925$1@news-reader13.wanadoo.fr
Etienne Baudin wrote:
> If F is 123.456
> float'image(F) will be 1.2346e2. I Would like to get 123.465 in the
> string, is it possible ?
1. If you want to use 'Image then you can convert the value to a fixed point
type and then use 'Image from that type.
2. You can use Put from Float_IO.
3. Alternatively http://www.dmitry-kazakov.de/ada/strings_edit.htm
--
Regards,
Dmitry A. Kazakov
www.dmitry-kazakov.de
next prev parent reply other threads:[~2003-06-19 11:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-19 10:26 float value without power Etienne Baudin
2003-06-19 11:08 ` Dmitry A. Kazakov [this message]
2003-06-19 11:37 ` Etienne Baudin
2003-06-19 12:02 ` Martin Dowie
2003-06-19 13:47 ` Marqmc5
2003-06-20 2:48 ` Steve
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox