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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cf09cb55989cab65 X-Google-Attributes: gid103376,public From: dewarr@my-dejanews.com Subject: Re: Data conversion Date: 1998/10/31 Message-ID: <71fp40$rpu$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 407053501 References: <71fcr5$9to@sifon.cc.mcgill.ca> X-Http-Proxy: 1.0 x12.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Sat Oct 31 19:40:48 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/2.02 (OS/2; I) Date: 1998-10-31T00:00:00+00:00 List-Id: In article <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. 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