Re: Same code gives different answers in 2 different scripts
Re: Same code gives different answers in 2 different scripts
- Subject: Re: Same code gives different answers in 2 different scripts
- From: Shane Stanley <email@hidden>
- Date: Fri, 05 Jun 2009 10:02:20 +1000
- Thread-topic: Same code gives different answers in 2 different scripts
On 5/6/09 9:31 AM, "Doug McNutt" <email@hidden> wrote:
> And my biggest problem is Apple's "rounding as taught in school". I was never
> taught anything like that and I really would like to know Apple's rules for
> remainders that are exactly 1/2 of a digit or for negative values.
They're in the ASLG; you can look it up.
>
> If INT(1.5001) comes out as 2 in AppleScript I would be very surprised - and
> disappointed.
Be prepared to be surprised and disappointed.
--
Shane Stanley <email@hidden>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden