Hi,
I have an SNMP sensor that provides a voltage reading with four digits and no decimal. Example, the value passed is 1270, but it really should be 127.0. I search the internet and can’t figure out how to reformat or insert the decimal point using jinja. I found tons of info on adding and formatting for decimal values, but nothing about reformatting a number to insert a decimal. Can anyone please help?
Well, I feel dumb. I don’t know python/jinja and I was over thinking it. Thought I needed to do something fancy, so that’s what I was searching for. Thanks for the light all!