Wich is the best way to divide guiTexture.texture.width and Screen.width to get a decimal number as output? dividing them directly only returns an int
I could do something like the code below but it just seems alot of extra variables/code to just get a number
var texturew:float = go.guiTexture.texture.width;
var screen:float = Screen.width;
print(texturew/screen);