Displaying large numbers in scientific notation
by Aaron K Murray · in Torque Game Builder · 01/28/2008 (6:00 pm) · 2 replies
Hello - I am displaying a score in my game, and the score often goes over 1 million points. The problem is that in TGB, once a number goes over 1 million, the value switches to scientific notation, and doesn't display properly anymore.
It'll looks something like:
1.00028e+006
I don't want to have to write a parser for my numbers. Is there a way to get the number to display "normally" in TorqueScript?
It'll looks something like:
1.00028e+006
I don't want to have to write a parser for my numbers. Is there a way to get the number to display "normally" in TorqueScript?
Associate Orion Elenzil
Real Life Plus