From: "Daniel Platt" <dan-news@ofdan.co.uk>
Subject: Converting string to float and integer
Date: 2000/01/09
Date: 2000-01-09T00:00:00+00:00 [thread overview]
Message-ID: <3vSd4.35559$E36.436449@news2-hme0> (raw)
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
next reply other threads:[~2000-01-09 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-09 0:00 Daniel Platt [this message]
2000-01-09 0:00 ` Converting string to float and integer Matthew Heaney
2000-01-09 0:00 ` Richard D Riehle
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox