In Unity, you can use the Mathf.Round() function to round the decimal point to one decimal place. For example:
float num= 3.14159265f;
float roundedNum = Mathf.Round(num * 10f) / 10f;
In the above code, we multiply num by 10 and then round it using Mathf.Round() function. Finally, divide the result by 10 to get a number accurate to one decimal place.