I've posted on a few forums including the Fusion help forum. I am hoping that someone here has an old Fanuc 5t or similar and has a solution for this?

I am facing 2 problems (that I know of) One is the 5t does not recognize decimal points. The other problem is the G Code that is being out put drops any trailing zeros.

I have edited my post processor Script with the following. But is only has the desired effect in part and is a poor and dangerous band aid in my opinion. X is pretty close to what it needs to be unless it ends in zero/s. The other z, etc sometimes get rounded up and also suffer the same problem with zeros being omitted.

var xFormat = createFormat({decimals:0, scale:2000}); // diameter mode
var yFormat = createFormat({decimals:0, scale:1000});
var zFormat = createFormat({decimals:0, scale:1000});
var rFormat = createFormat({decimals:0, scale:1000}); // radius
var feedFormat = createFormat({decimals:0, scale:1000});

Maybe there's some one here who is good with JavaScript? Or maybe another solution? If we can make it always post digits to the tenth I can manually edit out the decimals if need be. I've lost several days to trying to figure this out... Any help would be very greatly appreciated!