Jump to content

Number of decimals in numeric box


KydeX

Recommended Posts

  • 1 year later...

Hello,

The real numbers are set up to show 6 significant figures after the decimal.  This is due to the format we use for real numbers (following IEEE 754 standard).

Unfortunately, there is no way to directly format the decimal placing after a real number in the software.  You would have to convert the real into two 16-bit integers (the whole part, and the fractional part) then manually format the number on screen by putting these two integers together on screen.


UPDATE:
From UniLogic 1.18 and above there is a property name 'Decimal precision' to numeric box in case it linked to a REAL tag as you can see in the attached image.


 

Capture.JPG

  • Upvote 1
Link to comment
Share on other sites

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.