comp.lang.ada
 help / color / mirror / Atom feed
From: mockturtle <framefritti@gmail.com>
Subject: Re: Fixed point and float numbers outputted to screen
Date: Fri, 30 Mar 2012 05:54:55 -0700 (PDT)
Date: 2012-03-30T05:54:55-07:00	[thread overview]
Message-ID: <22442182.4067.1333112095053.JavaMail.geo-discussion-forums@vbue17> (raw)
In-Reply-To: <20829830.924.1333103243498.JavaMail.geo-discussion-forums@ynil13>

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



      reply	other threads:[~2012-03-30 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-30 10:27 Fixed point and float numbers outputted to screen tonyg
2012-03-30 12:54 ` mockturtle [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