From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Formatting output
Date: 14 Nov 2001 17:14:10 -0500
Date: 2001-11-14T22:16:49+00:00 [thread overview]
Message-ID: <uy9l9xaod.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: bf8dbe70.0111141358.33b16c38@posting.google.com
cptnben@gisco.net (Ben) writes:
> I am using the Linux version of the GNAT Ada compiler.
>
> I am trying to format a floating point output from Scientific Notation
> to a US currency standard. I am new to Ada and the only library I am
> using is TEXT_IO. I don't know for certain what I have available for
> other libraries.
> How might one make the following code (simple program) output the
> final results (TotFly and TotDri) as U.S. currency.
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.
> <snip>
--
-- Stephe
next prev parent reply other threads:[~2001-11-14 22:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-14 21:58 Formatting output Ben
2001-11-14 22:14 ` Stephen Leake [this message]
2001-11-14 22:26 ` Marin David Condic
2001-11-15 17:32 ` Ben
2001-11-15 18:09 ` Marin David Condic
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox