I want to display the remaining loading time of my weapon in seconds with one decimal,but there seems to only be functions that round to the nearest integer. How can I, for example, round a float value of 5.52312 to 5.5?

Nevermind. Multiply by ten, round, divide by ten.

print (System.Math.Round(5.52312, 1));

If you just want to display the time with one decimal place without actually rounding the value:

print (5.52312.ToString(“f1”));

–Eric