comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert I. Eachus" <rieachus@attbi.com>
Subject: Re: interest computing problem
Date: Tue, 16 Sep 2003 21:52:25 GMT
Date: 2003-09-16T21:52:25+00:00	[thread overview]
Message-ID: <3F6785FB.1090305@attbi.com> (raw)
In-Reply-To: vmeb0k2buli9cf@corp.supernews.com

Andrew wrote:

>    New_Line;
>    Put ("Your ending balance will be ");
>    Put (Balance,1,2,0);

I think this will fix your problem, if I understand what you think is a 
problem.  If you want output in dollars and cents without exponents, 
this will do it. Look at the documentation for Put in 
Ada.Text_IO.Float_IO to understand why those numbers for the (otherwise 
defaulted) parameters.

-- 
                                         Robert I. Eachus

"As far as I'm concerned, war always means failure." -- Jacques Chirac, 
President of France
"As far as France is concerned, you're right." -- Rush Limbaugh




  parent reply	other threads:[~2003-09-16 21:52 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-16 15:27 interest computing problem Andrew
2003-09-16 15:54 ` Ludovic Brenta
2003-09-16 17:21   ` tmoran
2003-09-17  4:26     ` Andrew
2003-09-16 21:52 ` Robert I. Eachus [this message]
2003-09-17  3:48   ` Andrew
2003-09-17  4:28     ` Andrew
2003-09-17  5:18     ` tmoran
2003-09-17  7:47       ` Andrew
2003-09-17 16:05         ` Andrew
2003-09-17 16:32           ` Martin Dowie
2003-09-17 16:36           ` Stupid! -was- " Andrew
2003-09-17 17:00             ` Stephane Richard
2003-09-17 17:15               ` Andrew
2003-09-19  4:07 ` Leon Winslow
2003-09-21 22:55   ` Andrew
  -- strict thread matches above, loose matches on Subject: below --
2003-09-22  0:44 Robert I. Eachus
replies disabled

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