Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

yux

macrumors newbie
Original poster
Sep 9, 2011
6
0
I would like to write script lines like this
*
set z to 100
set n to the higher integer of { z / 80 }
--> by this I mean I want n = 2 by rounding 1.25 up to 2

Could someone teach me how to do this? Thanks in advance!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.