But I can't seem to get the rounding to work. Here's what I've tried (placing these in the Device's Appearance > Label):
Code: Select all
[(oid("1.3.6.1.2.1.43.11.1.1.9.1.1"))/(oid("1.3.6.1.2.1.43.11.1.1.8.1.1"))*(100)]% <works (no rounding)
[round(oid("1.3.6.1.2.1.43.11.1.1.9.1.1"))/(oid("1.3.6.1.2.1.43.11.1.1.8.1.1"))*(100)]% <does not round
[round((oid("1.3.6.1.2.1.43.11.1.1.9.1.1"))/(oid("1.3.6.1.2.1.43.11.1.1.8.1.1")))*(100)]% <returns 0%