comp.lang.ada
 help / color / mirror / Atom feed
* Fixed point and float numbers outputted to screen
@ 2012-03-30 10:27 tonyg
  2012-03-30 12:54 ` mockturtle
  0 siblings, 1 reply; 2+ messages in thread
From: tonyg @ 2012-03-30 10:27 UTC (permalink / raw)



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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fixed point and float numbers outputted to screen
  2012-03-30 10:27 Fixed point and float numbers outputted to screen tonyg
@ 2012-03-30 12:54 ` mockturtle
  0 siblings, 0 replies; 2+ messages in thread
From: mockturtle @ 2012-03-30 12:54 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-30 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-30 10:27 Fixed point and float numbers outputted to screen tonyg
2012-03-30 12:54 ` mockturtle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox