Jump to content

Recommended Posts

Posted

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

 

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.