comp.lang.ada
 help / color / mirror / Atom feed
* rounding floating point numbers
@ 2002-02-20 22:17 Fraz
  2002-02-20 22:53 ` Marin David Condic
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fraz @ 2002-02-20 22:17 UTC (permalink / raw)


Hi

How do i round a floating number to 2 decimal places?  I know u can use
Fore, Aft, Exp in the PUT command, but i want to pass the number as
a paramater to something else, but i only want it to 2 decimal places? is
there a way to store the number like this in a variable?

Fraz





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-02-21  2:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-20 22:17 rounding floating point numbers Fraz
2002-02-20 22:53 ` Marin David Condic
2002-02-20 23:24 ` David C. Hoos
2002-02-21  2:29 ` Steve Doiel

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