Unity2020
This string:
Debug.Log(new Vector3(1, 0, 0) * 1.25f);
returns (1.3, 0.0, 0.0).
Why?
>Solution :
It is just how the ToString override works. You can specify how the numbers are format by using different overrides. For example:
var vector = new Vector3(1, 0, 0) * 1.25f;
Debug.Log(vector.ToString("F3"));
Or individually log out the values:
var formatString = "F3";
Debug.Log($"Vector is X:{vector.X.ToString(formatString)}, Y:{vector.Y.ToString(formatString)}, Z:{vector.Z.ToString(formatString)}");