yes!!
It's working. Thank you so much!!!
Please could you explain me this same thing.
and how can I get both of them (minvalue and maxvalue) using single function. (Actually, I want to subtract so ....)
yes!!
It's working. Thank you so much!!!
Please could you explain me this same thing.
and how can I get both of them (minvalue and maxvalue) using single function. (Actually, I want to subtract so ....)
const agg1 = msg.payload[0].Agg1_Total_Weight
const minvalue = agg1.minvalue
const maxvalue = agg1.maxvalue
const difference = maxvalue - minvalue
return { payload: { minvalue, maxvalue, difference } }
This will output a msg like:
msg.payload: {
minvalue: 1000,
maxvalue: 2000,
difference: 1000
}
Thank you very much!!
Please could you guide me how can I learn this.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.