EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Math (https://www.eq2interface.com/forums/showthread.php?t=15017)

TalTal 10-16-2010 07:19 PM

Math
 
I do math in game 1 * 1000000 and get 1e06. Is there any way to convert it back to 1000000?

Silat

Drumstix42 10-16-2010 10:13 PM

Did you try wrapping it with the int() function?

TalTal 10-16-2010 10:48 PM

Yea. Didn't help unfortunately. I'm trying to make a deposit all coin button and it takes input in copper so I have to make plat a huge number. I tried concatenating it (platamount ## '000000') but then it acted like text instead of a number.

Silat

Edit: Skipped the math with the plat and concatenated it onto the result of the other coins and then made it deposit, which at that point does not care that it is text instead of a number. Yay!

Drumstix42 10-16-2010 11:11 PM

Yeah was gonna say I have a deposit all coin button on my bank window, but it looks like you figured it out already.


All times are GMT -5. The time now is 04:19 AM.

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