Quantcast Float Division - EQ2Interface
Search Downloads

Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Thread Tools Search this Thread Display Modes
Unread 06-21-2012, 10:14 AM
pooka's Avatar
pooka pooka is offline
A Griffon
Interface Author - Click to view interfaces
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 250
Default 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...

Last edited by pooka : 06-21-2012 at 11:23 AM.
Reply With Quote
Unread 06-21-2012, 01:35 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Send a message via AIM to Drumstix42 Send a message via MSN to Drumstix42 Send a message via Yahoo to Drumstix42

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.
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -5. The time now is 07:53 PM.

Our Network
EQInterface | EQ2Interface | War.MMOUI | WoWInterface | VGInterface | LoTROInterface | MMOInterface