WireGuy1950
Member
I am trying to determine the fractional protion of a float number to do a further math operation and I am stumped on how to determine the "whole number" portion of the Float number, e.g. Float= 4.714286. I want to extract the "4" and subtract it from the float then multiply the remainder by 7.
The PLC is AB PLC 5/20.
Any suggestions?
The PLC is AB PLC 5/20.
Any suggestions?