C
Anyone know of an easy way to round to three decimals points using a Floating Point? I have a load cell reading into a F register. But I'd like to round to only three decimals. The value from the Analog card is giving me six decimals, but I'd like to round that to three places. I can't seem to think how to do it. Anyone got any great ideas? I know I could subract from 1, then find the difference, and subtract that value from the original. But I was wondering if there was a setting somewhere to round instead either in the analog card, or a function in the SLC I have never used.
Thanks,
Chris
http://www.mrplc.com
Thanks,
Chris
http://www.mrplc.com