Hi guys,
Struggling to write this in blockly .what am i missing?
let tempstring = msg.setpoint;
newtemp = parseInt(tempstring);
msg.payload = newtemp
thanks for any help
Hi guys,
Struggling to write this in blockly .what am i missing?
let tempstring = msg.setpoint;
newtemp = parseInt(tempstring);
msg.payload = newtemp
thanks for any help
omg cant explain how good you people are on here! so quick!
thank you @cymplecy
Just in case you don't want an integer but just to convert from string to number
no its the integer i need , just did not see round function was looking for parseint.
thank you again
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.