View Single Post
07-19-12, 04:36 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
I would suggest doing floor(ChatFrame1:GetHeight() + 0.5), so that if it returns 179.99999943743243 you will end up with 180, which is probably what you want.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote