Jump to content

Number of decimals in numeric box


Recommended Posts


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.

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.



  • Upvote 1
Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...