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,XPRIO autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fc0458fe4be14174,start X-Google-Attributes: gid103376,public From: "Daniel Platt" Subject: Converting string to float and integer Date: 2000/01/09 Message-ID: <3vSd4.35559$E36.436449@news2-hme0>#1/1 X-Deja-AN: 570202405 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Trace: news2-hme0 947385407 195.44.2.9 (Sun, 09 Jan 2000 02:36:47 GMT) X-MSMail-Priority: Normal NNTP-Posting-Date: Sun, 09 Jan 2000 02:36:47 GMT Newsgroups: comp.lang.ada Date: 2000-01-09T00:00:00+00:00 List-Id: Hi, I am tring to convert a string into a float and/or integer. Ihave tried integer(string), but I get illegal operand for numeric conversion. eg code. answer := Integer(string(1..2)); I am using Gnat Ada (95) Any help would be greatful. thanks Dan. dan-news@ofdan.co.uk