Problems using '.toFixed()'

If for example, you are displaying the value in a dashboard text node, you can always use angular filters to format the number.
Adding {{msg.payload | number:1}} mph to the text node value format box will format a msg.payload from 18.31158 to 18.3 mph

17 Likes