adil Posted October 16, 2013 Report Posted October 16, 2013 is there a way to display a value on screen with precesion two digits after the decimal point, knowing that this value comes from '' MI : memory Integer'' thanks. PS: I used the block 'store F', to convert the value 'MI' has value 'MF' but it gives a whole number without decimal.
nkwai Posted October 16, 2013 Report Posted October 16, 2013 Im not an expert, but as far as I know Intigers are whole numbers from -32768 to +32767 or from 0 to 65535 and even if you convert to float it will still be a whole number. To have the decimals you have to save directly to float. Hope it helps
External Moderators Ash Neilson Posted October 17, 2013 External Moderators Report Posted October 17, 2013 How is your value stored in the Memory Integer? For example if you are looking to display a value of "25.67" is your MI Value "2567"? If so, then you can make use of the Numeric Element on the HMI Display then select the number of Whole Number Digits and Decimal Place Digits from the two Number Boxes next to the "Text After" box. Let me know if it will help to attach a screenshot and I can post one here.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now