How to stop a big float value from changing to weird equations
Hello!
I have a problem with the Unity Editor, basically I have an object that display the value of a certain float, however if the float is too big ( like 10 million and upwards) it gets changed into "1e+07" and similar looking values. Is there a way to prevent this?
Use the datatype long if you want to display large numbers. Hope this helps. It is like an integer though :)
Your answer
Follow this Question
Related Questions
Rotate a Vector2 around the Z axis on a mathematical level 1 Answer
The name animator does not exist in the current context... Help? 1 Answer
Why is it that when I added a C sharp script to a game object, the game object disappeared? 0 Answers
Assigning input.acceleration to float then adding to a Vector3 to AddForce C# 1 Answer
why StartCoroutine(SpawnBigTree()); don't work and the float has a error 0 Answers