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: Wed, 03 Jun 2009 09:56:34 +1000
- Thread-topic: Same code gives different answers in 2 different scripts
On 3/6/09 8:52 AM, "Chris Page" <email@hidden> wrote:
> to findRound of num given numDecimals:n
> set x to 10 ^ n
> return (round (num * x)) / x
> end findRound
set rounded_height to findRound of 3 given numDecimals:0
--> 3.0
--
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