comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: altering number of significant figures
Date: Tue, 28 Sep 2004 17:58:43 GMT
Date: 2004-09-28T17:58:43+00:00	[thread overview]
Message-ID: <nDh6d.1347$Yr.380@newsread3.news.pas.earthlink.net> (raw)
In-Reply-To: <4158fd82@dnews.tpgi.com.au>

David Peterson wrote:

> The above will print "value = 1234.5678". However I want "value =
> 1234.56".

Unless there's a problem with your compiler, it should output

"value =  1.2345678E+03"

with 2 spaces after '='.

-- 
Jeff Carter
"Now go away or I shall taunt you a second time."
Monty Python & the Holy Grail
07




  parent reply	other threads:[~2004-09-28 17:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-28  5:59 altering number of significant figures David Peterson
2004-09-28  6:41 ` tmoran
2004-09-28  6:51 ` Martin Krischik
2004-09-28 17:58 ` Jeffrey Carter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-09-28  6:52 Christoph Karl Walter Grein
2004-09-28 10:26 ` David Peterson
replies disabled

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