View Single Post
07-19-12, 07:58 AM   #2
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
Lua Code:
  1. self.text:SetText("Height: "..floor(ChatFrame1:GetHeight()))

http://wowprogramming.com/docs/api_categories#lua



On an unrelated note, all of the numbers behind the separator you're seeing are not due to accuracy, but due to the inaccuracy of how numbers are stored on a computer - at least non-integer numbers, but in lua, integers and non-integers are treated in the same way.

Last edited by Haleth : 07-19-12 at 08:01 AM.
  Reply With Quote