I am scarping data from a web and I need to change from string to number. If I try to use this:
msg.payload = Number(msg.payload);
It doesn´t work for me as in Spain we use "," as "."
The fisrt debug is the data I want to change to number and the second one is what I get.
If the value is 0 it works fine.
Any idea how can I do it?
(PD: Sorry for my english )