EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   Float Division (https://www.eq2interface.com/forums/showthread.php?t=16499)

pooka 06-21-2012 10:14 AM

Float Division in UI Builder
 
Edited: Yeah, it works in game. Carry on.
--------------------------------
I know that most of the time we want ints not floats, and this saves us from having to use int(), but ...

Why is 10/3=3 when 3/10=0.3?

And why is 100/3=3e+001?

And is there any way to get greater precision? Nothing in particular, just things I came across while tinkering.

I suppose I should test this in game instead of just in UIBuilder...

Drumstix42 06-21-2012 01:35 PM

Yes UIBuilder math has been broken a while now. I think if you could find one revision sooner it might? work... but it lacks the Top/Left properties and some of the OnSomething events I believe.


All times are GMT -5. The time now is 06:14 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI