Hi there and thanks very much for the help!
This solves my problem on the client side where it prints to screen but doesn’t resolve it on the server side where I save to a text file. That’s why I was hoping to solve it previously in the code, so it would send the truncated numbers to the server side.
This is my server side:
RegisterServerEvent("SaveCoords")
AddEventHandler("SaveCoords", function( PlayerName , x , y , z, heading )
file = io.open( PlayerName .. "-Coords.txt", "a")
if file then
file:write("new Vector3("..x.."f, "..y.."f, "..z.."f),\n")
end
file:close()
end)