Buffer-parser help

Hello im trying to use the node Buffer-parser and work great, but i need to reduce the number of decimal in the output, for example i got a 2.123456789 from a modbus float, but i only whant show 2.12 or 2.1234 in the node red dashboard, can someone have experience using this node??

the buffer parser get the information from a modbus tcp slave, and i bring this information to a dashboard.

regards.

Leave the numbers alone & use AngularJS number filters / pipes

1 Like

To clarify you can use angular js filters in the dashboard to format numbers, dates, currency etc.
e.g.
{{msg.payload | number : 2}}

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.