About a5=a0+a1+a2+a3+a4?

Dear All :

var a0=0xCD;
var a1=0x64;
var a2=0x01;
var a3=0x04;
var a4=0x00;
return msg;

Why in debug window its show NaN?

Thank u.

Works fine for me, it shows 310 in the debug panel.

Which versions of Node-RED and NodeJS are you using?

Is the debug node attached directly to the output of that function node?

Have you clicked the alpha numeric node ID in the debug message to see which node is highlighted as sending the NaN?

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