comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Help: Truncating Decimal Types
Date: 1998/01/02
Date: 1998-01-02T00:00:00+00:00	[thread overview]
Message-ID: <dewar.883752238@merv> (raw)
In-Reply-To: 68iaav$rbi@info4.rus.uni-stuttgart.de


Peter says

<<This is indeed new to me. It seems I have to change my mind.
I always thought that the Ada rule is most easily rememberable
in that
   -- conversions will round,
   -- integer divisions will truncate.

puzzled
>>

The rules for decimal are different, for good reasons.





      reply	other threads:[~1998-01-02  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-30  0:00 Help: Truncating Decimal Types John J. Cupak Jr.
1997-12-30  0:00 ` Robert Dewar
1998-01-02  0:00   ` Peter Hermann
1998-01-02  0:00     ` Robert Dewar [this message]
replies disabled

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