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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c99620081e79e46 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.74.201 with SMTP id w9mr3417837pbv.0.1333112202321; Fri, 30 Mar 2012 05:56:42 -0700 (PDT) Path: z9ni18699pbe.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: mockturtle Newsgroups: comp.lang.ada Subject: Re: Fixed point and float numbers outputted to screen Date: Fri, 30 Mar 2012 05:54:55 -0700 (PDT) Organization: http://groups.google.com Message-ID: <22442182.4067.1333112095053.JavaMail.geo-discussion-forums@vbue17> References: <20829830.924.1333103243498.JavaMail.geo-discussion-forums@ynil13> NNTP-Posting-Host: 158.110.27.77 Mime-Version: 1.0 X-Trace: posting.google.com 1333112202 10693 127.0.0.1 (30 Mar 2012 12:56:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 30 Mar 2012 12:56:42 +0000 (UTC) In-Reply-To: <20829830.924.1333103243498.JavaMail.geo-discussion-forums@ynil13> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=158.110.27.77; posting-account=9fwclgkAAAD6oQ5usUYhee1l39geVY99 User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-03-30T05:54:55-07:00 List-Id: On Friday, March 30, 2012 12:27:23 PM UTC+2, tonyg wrote: > I'm doing some things with the AWS libraries and I want to output some float numbers to the screen nicely with a single decimal place (its actually temperatures). > Anyone know any good output libraries I can filch? Maybe a silly question: did you check Ada.Text_IO and friends? (e.g. Ada.Text_IO.Float_IO, Ada.Text_IO.Fixed_IO, Ada.Text_IO.Decimal_IO) If you did not, check the RM A.10, especially A.10.1 and A.10.9. Riccardo