TransformPoint precision issue

I’ve got a standard cube rotated 20°.
Now I call transform.TransformPoint on one of the cubes vertices.
Then if I place dummy at the world coordinates given by transform.TransformPoint, the dummy is not at the exact vertex position. TransformPoint gives me 24.9 as z coordinate where it should give me 24.93617 (manual correction).
Is there a way to get a more precise coordinate ?

Are you sure the TransformPoint.z = 24.9, or it’s just being output as 24.9? If you do a Debug.Log(myFloat), it will only output the float to one decimal place.

Try this:

Debug.Log(TransformPoint.z.ToString("{0:0.#####}"));