Re: magic integer converter number 62?
Re: magic integer converter number 62?
- Subject: Re: magic integer converter number 62?
- From: Nigel Garvey <email@hidden>
- Date: Tue, 20 Feb 2001 12:19:24 +0000
=?iso-8859-1?q?M=20Shaw?= wrote on Mon, 19 Feb 2001 17:36:01 -0800 (PST):
>
Can anybody figure out why this works:
>
>
set x to 62
>
set b to ((x + (2.6 - (2.6 mod 1))) - x) as integer
>
>
and this doesn't:
>
>
set x to 61
>
set b to ((x + (2.6 - (2.6 mod 1))) - x) as integer
They both work on both my machines (OS 8.6 & OS 9.0.4) - and they both
produce integer results even without the coercion. What exactly hppens in
your case?
NG