|round(2)
should work in most cases, however there is no way to stop home assistant stripping off trailing zeros other than to make your number a string.
Have a read of this topic Template sensor to state the last zero
|round(2)
should work in most cases, however there is no way to stop home assistant stripping off trailing zeros other than to make your number a string.
Have a read of this topic Template sensor to state the last zero