Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,155 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,115 people online right now. Registration is fast and FREE... Join Now!




rounding in applescript

 
Reply to this topicStart new topic

rounding in applescript

xtreampb
17 Dec, 2007 - 07:09 AM
Post #1

D.I.C Head
**

Joined: 20 Jun, 2007
Posts: 57



Thanked: 1 times
My Contributions
why is it in applescript is that when you round 2.5 it is rounded to 2 and not 3
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: Rounding In Applescript
17 Dec, 2007 - 07:27 AM
Post #2

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 3,984



Thanked: 16 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
Please do not double post.


It must assume a floor function instead of a programmatic rounding up at .5 and larger.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 11:15PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month