carver Posted April 14, 2016 Report Share Posted April 14, 2016 Hi I'm using a MF-variable in an numeric field. Since this field is narrow, I would like to limit the number of fractions to 6. Any idea? Thanks for helping me. Regards Peter Quote Link to comment Share on other sites More sharing options...
s.pratt Posted April 15, 2016 Report Share Posted April 15, 2016 Hello Peter, Unfortunately, you cannot adjust the viewing format of floats. However, you can split the float into two parts: the whole part and fractional part. This can be done through the function block under the Math tab, in the Floats section, Convert, and the INV(A+B/n) function block. Then, on screen, you can format the MI, ML, or DW that you put the fractional part on screen and format it such that only 'x' amount of digits are shown. Hope this helps. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.