AutoHotkey Community

It is currently May 27th, 2012, 3:40 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Ceil Function
PostPosted: November 3rd, 2005, 6:00 pm 
Offline

Joined: July 25th, 2005, 10:20 pm
Posts: 139
Location: Richmond, Virginia
I'm having trouble with the following...

Code:
Var1 := Ceil(62/61)
MsgBox, , , Var1 is %Var1%., 2

Var1 ends up being 1.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 3rd, 2005, 8:57 pm 
Offline

Joined: March 2nd, 2004, 3:36 pm
Posts: 10720
Thanks. I'll fix it for the next update.

In the meantime, I think you can use something like Floor(62/61 + 1) as a substitute.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 4th, 2005, 12:58 am 
Offline

Joined: July 25th, 2005, 10:20 pm
Posts: 139
Location: Richmond, Virginia
Super. Thanks.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group