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: Paul Berkowitz <email@hidden>
- Date: Fri, 01 Feb 2002 10:18:39 -0800
On 2/1/02 9:46 AM, "Bob.Kalbaugh" <email@hidden> wrote:
>
on 1/31/02 10:28 PM, Shane Stanley at email@hidden wrote:
>
>
> On 1/2/02 2:18 PM +1000, Bob.Kalbaugh, email@hidden, wrote:
>
>
>
>> FWIW - OMM - 9.0/1.4:
>
>>
>
>> integer (3.5)
>
>> --> 4
>
>
>
> I still suspect a third-party do-dad. From ASLG (the old print one):
>
>
>
> "AppleScript supports coercion of a Real value to an Integer value only if
>
> the Real value has no fractional part."
>
>
Well, if you've read Michelle's response to Jon's message you'll note that
>
she has removed *all* of her scripting additions and it still worked.
>
Clearly it is something else. Some other do-dad. Possibly an invisible FBA?
>
I doubt it. That might not even make sense. For the record, all of my tests
>
were performed from within script editor.
What OS/AS versions? It doesn't work in OS 10.1.2/ AS 1.8.2b here.
--
Paul Berkowitz