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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5bcb179dc8f1d423 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-14 14:40:13 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.icl.net!newsfeeds.belnet.be!news.belnet.be!psinet-eu-nl!psiuk-p4!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Formatting output Date: Wed, 14 Nov 2001 17:26:41 -0500 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9sur33$2qh$1@nh.pace.co.uk> References: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1005776803 2897 136.170.200.133 (14 Nov 2001 22:26:43 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 14 Nov 2001 22:26:43 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:16547 Date: 2001-11-14T22:26:43+00:00 List-Id: See also Ada Reference Manual (ARM) 3.5.9 concerning Decimal Fixed Point Types and ARM Appendix F.3 - Edited Output For Decimal Types. You can pretty much use this stuff to do all the clever formatting you might find in Cobol programs & is a natural for currency. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "Stephen Leake" wrote in message news:uy9l9xaod.fsf@gsfc.nasa.gov... > > This sounds like a homework problem, so I'll only give a hint; look at > the parameters Fore and Aft in Ada.Text_IO.Float_IO. Then go ask your > instructor, and your textbook. > > If this is not a homework problem, and that does not help, come back > for more.