ID:174706
Jul 24 2003, 3:05 pm
|
|
Is there a maximum number that a variable can be defined as or something because when I try to define a variable as 1000000 or more any outputs in game come out as 1e+006 or something similar.
|
Jul 24 2003, 3:15 pm
|
|
That shows the number condenced 1e+006 is 1000000.
|
In response to Hendrix
|
|
It's called scientific notation.
But, to answer his question, the maximum number is high enough. (2**127)-1 or so. Not sure exactly, though. |
In response to Garthor
|
|
Is there a way to stop it from condensing the numbers, I dont think many people will know what it means when it says they have 1e+006 gold.
Thanks |
In response to ShadowBlade6300
|
|
Take a look at the num2text() proc. It will be a little work to put it for all the variables that will be displayed in Scientific notation to the players, but you wont have anymore scientific notation confusing anyone.
It would also be a nice feature to be able to set the length of a number before it goes into scientific notation. |