From: Pascal MALAISE <malaise@magic.fr>
Subject: Re: Data conversion
Date: 1998/10/31
Date: 1998-10-31T18:45:49+00:00 [thread overview]
Message-ID: <363B5ADC.8639CEB0@magic.fr> (raw)
In-Reply-To: 71fcr5$9to@sifon.cc.mcgill.ca
Mat & Syl wrote:
>
> I need a function to convert float to string and other one for string to
> float.
>
> Thanks
text_io (83) or Ada.Text_IO.Float_IO (95)
private generic
type Num is digits <>;
package Ada.Text_IO.Float_IO is
...
procedure Get
(From : in String;
Item : out Num;
Last : out Positive);
procedure Put
(To : out String;
Item : in Num;
Aft : in Field := Default_Aft;
Exp : in Field := Default_Exp);
...
--
Pascal MALAISE
(priv) mailto:malaise@magic.fr
(prof) mailto:malaise@fr.airsysatm.thomson-csf.com
next prev parent reply other threads:[~1998-10-31 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-10-31 0:00 Data conversion Mat & Syl
1998-10-31 0:00 ` dewarr
1998-10-31 0:00 ` Pascal MALAISE [this message]
1998-11-01 0:00 ` dewarr
1998-10-31 0:00 ` David C. Hoos, Sr.
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox