Pinned topic Rounding the values
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Is there a way to round the values calculated in detect? For example I would like to round the calculated value 9.689452 to 10
Updated on 2012-06-12T18:17:55Z at 2012-06-12T18:17:55Z by SystemAdmin
SystemAdmin 110000D4XK12 Posts
There is no rounding operator2012-06-12T18:17:55ZThis is the accepted answer. This is the accepted answer.There is no rounding operator in the math expression. So you cannot round that way.
I thought that you might be able to create a math expression containing (ValueToRound + 0.5) and then assign it to an integer value in a container. But the application will not allow an assignment of a math expression to an integer value in a container.
I will ask Engineering but, as far as I know, it cannot be done.