Re: rounding integers
Re: rounding integers
- Subject: Re: rounding integers
- From: Michelle Steiner <email@hidden>
- Date: Fri, 31 Oct 2003 10:47:42 -0700
On Oct 31, 2003, at 10:17 AM, Chet Goetz wrote:
Thanks for the advice, but your code gives me an error:
"Can't make 314.159265358979 into a integer."
Am I doing something wrong?
Try this instead:
(pi * 100) div 1 / 100
--> 3.14
--
"Never ask a man what computer he uses. If it's a Mac, he'll tell you.
If it's not, why embarrass him?" --Tom Clancy
_______________________________________________
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.