does the variable have a limit?

Want to know about variable limit for mz, anybody know how much is the limit?
Do you mean quantity of variables or number value per variable?
Do you mean quantity of variables or number value per variable?
number value per variable
I think its like 999,999 or 999,999,999 Just make a variable 999,999,999, then add 999,999,999. Return variable value in a text box and see where it stops. Im not able to give you a direct answer atm. But its something you can find out by just doing/trying. Also, variables aren't limited to just numbers . You can assign different values to them depending on what it is you are trying to achieve.
1647930106941.png


I test it like you said but not reach the limit, but I think this is more than enough for me.
Thank you for your help :LZSjoy:
In detail: JavaScript's Number type follows the IEEE 754 double-precision 64-bit standard, which stores numbers using scientific notation with a 52-bit mantissa/base. This allows 16~17 digits of precision, but much larger numbers can be stored by sacrificing precision.

For more technical details/explanation and specific values, check out this article:
(JavaScript also supports a BigInt type, which can precisely store integers of arbitrary size given enough RAM. It doesn't work with many normal number-processing methods, though, and is never used in the core scripts.)

Original thread: https://forums.rpgmakerweb.com/threads/does-the-variable-have-a-limit.146004/