Hello,
I am showing the engine running hours variable (type double) in the dashboard screen with no decimals. When the variable has an value of 100.5 then the display shows 101. So it seems to be rounding up from 100.5 upwards. Can this be deactivated somehow without using any calculation variables in between?
I am using PV2.7
Thanks,
Regards Heico.
Number Rounding up
- Hfluiter
- Posts: 3
- Joined: Mon Feb 28, 2011 7:00 am
- jpratt
- Enovation Controls Development
- Posts: 222
- Joined: Mon Jun 21, 2010 11:18 am
Re: Number Rounding up
There are a few options you could try. You could simply change the variable to a integer value. This should truncate the decimal information. Short of that you could use a calculated variable tied to the "Fire On Change" to remove it by using the Int(VariableName) function in the equation.
Jake Pratt
Software Development Manager
Software Development Manager