hexagon logo

How to set decimal place when exporting into txt file?

I am creating a script that will get tracefield data and then create a file path and file using that data. I have that portion complete but the data from the dimensions going into the .txt are going out over 10 decimal places. How can I set the data to 3 decimal places rounded? Basically to match whatever the CMM report shows. I have the DISPLAYPRECISION set to 3.

Thanks
Parents Reply Children
No Data