Re: Bug?
Re: Bug?
- Subject: Re: Bug?
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 23 Dec 2002 18:50:41 -0800
On 12/23/02 6:34 PM, "Michelle Steiner" <email@hidden> wrote:
>
AS 2.0 beta
Is there an AS 2.0 beta? I've got SE 2.0 beta and System Events 1.2 beta
from Dev Tools, but nevertheless:
get version
--> "1.9.1"
>
>
set x to (round (10 / 3) * 10 as real)
>
class of x
>
>
--> integer
Standard Additions:
round: Round number to integer (defined in: StandardAdditions.osax)
round [real] -- the number to round
Result: integer -- the rounded value
The result of round is always integer. That's the point of rounding.
Did you perhaps intend:
set X to (round (10 / 3) * 10) as real
class of X
--> real
(Misplaced parenthesis, not bug.)
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Bug? (From: Michelle Steiner <email@hidden>) |