Random Project

Good script!

I have a better value rounding meth?d to suggest.
I changed the line:
ROUNDED=`echo $VALUE | sed ‘s/..*//’`
with:
ROUNDED=`echo $VALUE | awk ‘{printf(“%dn”,$1 + 0.5)}’`

I faced a problem when the ‘.7’ value for Input voltage (power failure) appeared to be ‘OK’.
Thank you!