Greetings,

I currently have a Factory Sensor gathering info from a few error log counter sensors which sums up all the entries as a numeral and divides it by 30 (wanting to get a breakdown of per minute error count for the past 30 minutes). The current formula works, sort of, but it does cause the data to be perceived as % sometimes if the total count is not divisible by 30.

Simple example: (Channel(198059,2))/(max(30))

Is there a way to round up the number, be it up or down?

Regards, Karasu


Article Comments

Hello Karasu,

I'm afraid that a round function does not exist in the sensor factory sensor, so this would require some external script handling to do the math on this.


Kind regards,
Felix Saure, Tech Support Team


Aug, 2022 - Permalink