unity round float to 1 decimal place code example Example: unity round float to hundreths yourFloat.ToString("F2")