I want to use the number in the array extracted from an csv file for a calculation. I convereted the object to an array but the number is in between " ", which doesnt allow me to read roperly
How can I get rid of the " " so it will like this
(Note. the second picture got a different value. added just to show how I need it)
You can convert it in a function node using
msg.payload = Number(msg.payload).
How did you convert it to an array, it may be possible to do the conversion at the same time.
Or if you used the csv node, set it to parse numeric values.
I see i responded in another thread. If you had responded there I would of said
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.