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,c8a853b515609781 X-Google-Attributes: gid103376,public From: Matthew Heaney Subject: Re: strings to floats/integers Date: 1998/08/29 Message-ID: #1/1 X-Deja-AN: 385882070 Sender: matt@mheaney.ni.net References: <35e41033.9324314@200.223.0.87> <6s1e9k$bgq@sjx-ixn5.ix.netcom.com> NNTP-Posting-Date: Fri, 28 Aug 1998 22:26:32 PDT Newsgroups: comp.lang.ada Date: 1998-08-29T00:00:00+00:00 List-Id: Richard D Riehle writes: > The conversion between strings and float and strings and integers can > easily be accomplished using Ada.Text_IO. Note that for > > Ada.Text_IO.Integer_IO > and Ada.Text_IO.Float_IO > > there are Get and Put operations defined for conversion between strings > and the desired numeric type. Note that for types Integer and Float, there are predefined instantations of the associated packages in Text_IO, called Ada.Integer_Text_IO and Ada.Float_Text_IO These were included in the language specifically for use by students and other Ada neophytes.