Thanks Steve.
I worked out if I string
and delLeftmost
to a \n
I get 688.
But then I put it through a function
node and convert it to an int
value.
var x = parseInt(msg.payload);
msg.payload = x;
return msg;
Then send it to the gauge
node. Looks good.
But appreciated.