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? :confused: |
Yea, its been doing it for a while for me, any thing that results in a number over 10 gets jacked.
|
Very strange. I haven't had to mess with math in a bit, but this surely wasn't happening a few months back. I wonder if it's some kind of outside problem or the UIBuilder version? Maybe I can find an older one or something...
|
Quote:
The various old versions I still have do not have that problem but they do not support int() and such either. |
Yeah, I had the same results. Old version have the trailing decimals, and the new version seems broken.
Maybe I never did actually test the math in UIBuilder before, and only thought that I did. I'll just have to be careful what code I save out of it and copy over should it be using any default values upon loading. Would be nice to get this fixed if a dev's eyes ever see this thread :) |
All times are GMT -5. The time now is 03:56 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI