From: mheaney@ni.net (Matthew Heaney)
Subject: Re: Converting integer to float
Date: 1997/08/01
Date: 1997-08-01T00:00:00+00:00 [thread overview]
Message-ID: <mheaney-ya023680000108972358400001@news.ni.net> (raw)
In-Reply-To: 5rqvii$16s$1@oravannahka.Helsinki.FI
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 630 bytes --]
In article <5rqvii$16s$1@oravannahka.Helsinki.FI>, ant@news.helsinki.fi
(Antti Piril�) wrote:
>How to convert an integer value to float?
declare
I : Integer := 2;
F : Float := Float (I);
begin
A simple type conversion is all that's required.
The nature of your question suggests that you are a programmer new to Ada.
If you want a learn more, you can find some tutorials (Lovelace is a
popular one) at the Ada home page:
<http://www.adahome.com>
--------------------------------------------------------------------
Matthew Heaney
Software Development Consultant
<mailto:matthew_heaney@acm.org>
(818) 985-1271
prev parent reply other threads:[~1997-08-01 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-31 0:00 Converting integer to float Antti Piril�
1997-08-01 0:00 ` Matthew Heaney [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