I am using floats along with GUIText to show score and multiplier numbers in my game, but instead of showing 1.00 for the multiplier it just shows a 1. I really need it to show the zeros, as the mutli will increase from 1.00 - 1.25 - 1.75 - 2.00 - 2.25 etc. How can I force unity to show the zeros?
text = someNumber.ToString(“f2”);
–Eric
Thank you dude sorted it
As a side note, you can change the number after the F to pretty much any degree of precision you need.