View Single Post
  #1  
Unread 11-18-2010, 04:12 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
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
Default UIBuilder math borked?

This only started happening to me recently and I don't know why.

Doing any sort of math in the UIBuilder with variables is resulting in values like:
1e+002.

I really don't understand why. It wasn't doing it before. I tried re-extracting UIBuilder freshly, and no difference.

I can add numbers like var=5+5
But as soon as I do Element.width+5 I get the weird number results....

I tried wrapping things in Int() with no difference in result.
It makes testing positioning code in UIBuilder impossible


Any ideas?
__________________
"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