ID:173807
 
Lets say i set the score to 10000000000. it would come out as 1e+010. How would i trick it into showing 10000000000 as the var instead of 1e+010?

Siientx
Siientx wrote:
Lets say i set the score to 10000000000. it would come out as 1e+010. How would i trick it into showing 10000000000 as the var instead of 1e+010?

Siientx

You want to use num2text(). http://www.byond.com/docs/ref/info.html#/proc/num2text

Just set the number of significant digits to a large value. But you really should avoid having numbers that big since by that point you start losing a lot of precision when you try and add smaller quantities. This error can add up and cause all sorts of logical errors.