![]() |
Math
I do math in game 1 * 1000000 and get 1e06. Is there any way to convert it back to 1000000?
Silat |
Did you try wrapping it with the int() function?
|
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! |
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 05:46 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI