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: "Bob.Kalbaugh" <email@hidden>
- Date: Thu, 31 Jan 2002 22:18:58 -0500
on 1/31/02 8:07 PM, Shane Stanley at email@hidden wrote:
>
Hmmm. I'm on 1.8.2b1 under 9.2.1, and it doesn't work. And hasn't in any
>
previous versions, as far as I'm aware (I'm fairly sure because I've used
>
something like this to make the distinction between coercion and changing
>
values in my courses for several years.)
FWIW - OMM - 9.0/1.4:
integer (3.5)
--> 4
however, this:
(3.5) as integer
--> can't make 3.5 into a integer
And what's up with this?
(3.5)
integer result
--> 4
(4.5)
integer result
--> 4 (???)
(5.5)
integer result
--> 6
(6.5)
integer result
--> 6 (???)
(7.5)
integer result
--> 8
????
--
Bob.Kalbaugh