var msg0 = {payload: ((msg.payload[0]<<16) + msg.payload[1]) / 100};
var msg1 = {payload: ((msg.payload[2]<<16) + msg.payload[3]) / 100};
return [msg0,msg1];
At a guess, you are working with modbus data? If so, there is a contrib node designed to help with all the 16 bit / 32 bit / float / masking / bit shifting etc - makes this a trivial and low code experience - node-red-contrib-buffer-parser