MACSCRPT Archives

May 2003

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0 (Apple Message framework v552)
Content-Type:
text/plain; charset=US-ASCII; format=flowed
Date:
Fri, 16 May 2003 10:41:11 -0400
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Mark Lively <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
7bit
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (32 lines)
On Friday, May 16, 2003, at 10:22  AM, Ethan Rips wrote:

> On 5/15/03 10:39 PM, Nigel Garvey <[log in to unmask]>
> wrote:
>
>> 1.5 as double integer
>> --> 2.0
>
> OMM (running 10.1.5) the result is 1.0. Does this behavior change
> depending
> on one's version of Applescript?
>
I hope not, though of course the right behaviour might be seen as a bug.

When I give a real number and ask for an int, I want it truncated.

Taking a look at 7.6.1...

1.5 --> 2
2.5 --> 2
3.5 --> 4

So it is doing clever rounding.

on 10.2.6 I get the same results.

It sounds like its one of those fixed then broken then fixed then
broken.

-Mark
No where did I put that copy of the Object Support Library...

ATOM RSS1 RSS2