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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e99ea9c9d228f6b8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-16 14:52:26 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!news-in-sterling.nuthinbutnews.com!cyclone1.gnilink.net!wn14feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc54.POSTED!not-for-mail Message-ID: <3F6785FB.1090305@attbi.com> From: "Robert I. Eachus" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: interest computing problem References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.34.139.183 X-Complaints-To: abuse@comcast.net X-Trace: rwcrnsc54 1063749145 24.34.139.183 (Tue, 16 Sep 2003 21:52:25 GMT) NNTP-Posting-Date: Tue, 16 Sep 2003 21:52:25 GMT Organization: Comcast Online Date: Tue, 16 Sep 2003 21:52:25 GMT Xref: archiver1.google.com comp.lang.ada:42586 Date: 2003-09-16T21:52:25+00:00 List-Id: 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