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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.42.142.70 with SMTP id r6mr7625743icu.34.1412307344116; Thu, 02 Oct 2014 20:35:44 -0700 (PDT) X-Received: by 10.182.122.230 with SMTP id lv6mr43718obb.4.1412307343989; Thu, 02 Oct 2014 20:35:43 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!uq10no2974323igb.0!news-out.google.com!bc9ni13481igb.0!nntp.google.com!h18no961707igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 2 Oct 2014 20:35:43 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=24.36.114.177; posting-account=Lb5doAoAAAAWHET3z2_nBVbFSXaZQG1V NNTP-Posting-Host: 24.36.114.177 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0e236d4b-2ece-4179-850c-46a0572f8339@googlegroups.com> Subject: Re: casting types From: Stribor40 Injection-Date: Fri, 03 Oct 2014 03:35:44 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: news.eternal-september.org comp.lang.ada:22014 Date: 2014-10-02T20:35:43-07:00 List-Id: Ok basically what I want to do now is following... I am trying to print out my float to the screen by doing following.. Put(myFunction); Where myFunction generates number 9.24543E-01 which is output to the screen.. I can also output it like this Put(Item=>Float 'Truncation(120.00*myFunction),Exp=>0,Aft=>5); to output 81.00000 to the screen. Now I would like to save this 81.00000 as an integer to some variable. Can you please show me how to do this please