Re: How can I round in applescript to 3 digits after a period?
Re: How can I round in applescript to 3 digits after a period?
- Subject: Re: How can I round in applescript to 3 digits after a period?
- From: Doug McNutt <email@hidden>
- Date: Thu, 3 Jan 2008 14:03:56 -0700
At 12:57 -0500 1/3/08, Mark J. Reed wrote:
>I.e. 19.9898923978923892 should just be rounded to 19.989
>That's not rounding, that's truncating. 19.9898 rounds to 19.990.
To make a truncation look pretty much like a round add 0.5 to the number before truncating to an integer.
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
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