comp.lang.ada
 help / color / mirror / Atom feed
From: dewarr@my-dejanews.com
Subject: Re: Data conversion
Date: 1998/10/31
Date: 1998-10-31T00:00:00+00:00	[thread overview]
Message-ID: <71fp40$rpu$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 71fcr5$9to@sifon.cc.mcgill.ca

In article <71fcr5$9to@sifon.cc.mcgill.ca>,
  "Mat & Syl" <slambe@po-box.mcgill.ca> wrote:
> I need a function to convert float to string and other one for string to
> float.


I wonder why this is such a FAQ, when the answer is right there in the
language, namely the Image and Value attributes which of course provide
exactly this functionality. At least in my case when I am teaching Ada, I
teach people about the Image attribute very early (this is my preferred
method for doing integer output for Text_IO, since, unlike Integer_Text_IO it
keeps working fine for derived types when you get to them).



-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




      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 ` Pascal MALAISE
1998-11-01  0:00   ` dewarr
1998-10-31  0:00 ` David C. Hoos, Sr.
1998-10-31  0:00 ` dewarr [this message]
replies disabled

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