We are using RSLogix 5000. I have numbers entered via the Panelview as Real numbers. I need to take a number such as 1.375 and only evaluate the decimal portion of the number. How can I strip away the whole number and leave only the decimal.
Convert the number to integer without rounding.
Convert the result back to REAL.
Subtract the result from the original.
Alternate:
Change the Panelview program to enter an integer with whatever number of implied decimal places you need. Your example of 1.375 could be entered as 1375. In integer arithmetic, 1375 MOD 1000 equals 375.