round float to 2 deimals unity code example Example: unity round float to hundreths yourFloat.ToString("F2")