Re: How to coerce a real to an integer in X?
Re: How to coerce a real to an integer in X?
- Subject: Re: How to coerce a real to an integer in X?
- From: John W Baxter <email@hidden>
- Date: Thu, 31 Jan 2002 22:17:43 -0800
At 22:18 -0500 1/31/2002, Bob.Kalbaugh wrote:
>
And what's up with this?
>
>
(3.5)
>
integer result
>
--> 4
>
>
(4.5)
>
integer result
>
--> 4 (???)
This is correct rounding (rounding the exact half to the even value).
--John (who doesn't plan to participate further in the week-long thread
which will ensue)
--
John Baxter email@hidden Port Ludlow, WA, USA