Hey guys, quick question...
I've created a button which allows me to increase/decrease the height of ChatFrame by using OnMouseWheel.
The button also shows the height of the ChatFrame with OnSizeChanged:
Lua Code:
self.text:SetText("Height: "..ChatFrame1:GetHeight())
It returns though with something like 280.00033324777.
While I appreciate it's accuracy lol, could someone give me a pointer on how I can round down the data that I get from GetHeight()?
Any help would be hugely appreciated
.
Aanson