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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,a34155c47adc46f2 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Looking For Simple Routine To Put Integer Into Float References: <570f8963-82ba-42b9-981f-0f92e59161b3@a2g2000prd.googlegroups.com> Date: Mon, 24 May 2010 22:47:19 -0400 Message-ID: <82typw8zpk.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:pOcTjruIM3apnybiVnOlz5euzpQ= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 9919b4bfb3aa7e197caa700754 Xref: g2news2.google.com comp.lang.ada:11956 Date: 2010-05-24T22:47:19-04:00 List-Id: ChristopherL writes: > Can you modify the below code to convert an integer variable of 32 > bits to a variable of type float. > > > > A_Float := Float (An_Unknown_Integer); This answers your question as asked; it converts any integer type to the Float type. Perhaps you want to ask something else? -- -- Stephe