unity float to string with decimals code example Example: unity round float to hundreths yourFloat.ToString("F2")