How to add a decimal place inside a number?

I have a temperature that is displayed like this:

temperature: 1563

I would like it to look like this:

temperature: 15.6

How would I do that?

Displayed where?
You can use a function node to

msg.temperature = Math.round(msg.temperature / 10) / 10;
return msg;

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