Page 1 of 1

All temps to CWOP being rounded down

Posted: Thu 21 Jan 2016 3:14 am
by millguy
As the title says, my VP2 console and CMX both showing 20.9 degrees right now. CWOP showing 20. I noticed this last night also.
I don't recall noticing this in the past. Does MX always round down or is this new? Or is CWOP rounding the temps?

Re: All temps to CWOP being rounded down

Posted: Thu 21 Jan 2016 8:59 am
by steve
It's possible that my routines which convert to the format required by CWOP are inadvertently truncating - I'll have a look later and get back to you.

Re: All temps to CWOP being rounded down

Posted: Thu 21 Jan 2016 10:19 am
by steve
Yes, I mistakenly thought that casting to an int would round, but it truncates. I'll change my code to explicitly round to the nearest whole degree F in the next build.

Re: All temps to CWOP being rounded down

Posted: Thu 21 Jan 2016 11:21 am
by millguy
Thanks Steve.