Topic
  • 1 reply
  • Latest Post - ‏2012-06-12T18:17:55Z by SystemAdmin
SystemAdmin
SystemAdmin
12 Posts

Pinned topic Rounding the values

‏2012-06-12T18:17:55Z |
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
    SystemAdmin
    12 Posts

    There is no rounding operator

    ‏2012-06-12T18:17:55Z  
    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.