I am needing some assistance on rounding to 10th in control logix.
I am reading a real number for density out of the meter of i.e 45.23324. I would like to round this to 45.2 and move this number to an AO for an LED Display. The TRN function takes me to the nearest whole number and the same with a DINT which rounds to a whole number. Thanks in advance!
I am reading a real number for density out of the meter of i.e 45.23324. I would like to round this to 45.2 and move this number to an AO for an LED Display. The TRN function takes me to the nearest whole number and the same with a DINT which rounds to a whole number. Thanks in advance!