comp.lang.ada
 help / color / mirror / Atom feed
From: "Fraz" <fraz@totalise.co.uk>
Subject: rounding floating point numbers
Date: Wed, 20 Feb 2002 22:17:00 -0000
Date: 2002-02-20T22:17:00+00:00	[thread overview]
Message-ID: <yfVc8.96077$as2.15328940@news6-win.server.ntlworld.com> (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





             reply	other threads:[~2002-02-20 22:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-20 22:17 Fraz [this message]
2002-02-20 22:53 ` rounding floating point numbers Marin David Condic
2002-02-20 23:24 ` David C. Hoos
2002-02-21  2:29 ` Steve Doiel
replies disabled

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