[text] FUNCTION

Viewer

copydownloadembedprintName: FUNCTION
  1. var dist = msg.payload;
  2. msg.payload = "Distance: " + dist*0.62 + " \nCube: " + dist*0.62*dist*0.62*dist*0.62 + " \n Discount: " +2000000*0.9 
  3. return msg;

Editor

You can edit this paste and save as new:


File Description
  • FUNCTION
  • Paste Code
  • 25 Apr-2024
  • 155 Bytes
You can Share it: