Function map on Node-RED

Hi, I'm using this fuction on the Arduino IDE, but I want to use it in Node-RED some documentation that I must see?

This is the function I need to use map but I'm not sure in Node-RED the equivalent for that.

output_value = map(output_value,500,0,0,250);

I use this https://www.arduino.cc/reference/en/language/functions/math/map/ because I was using this function on Arduino to map my values, so I think the Range Node is the equivalent

Use the range node for the nearest equivalent

Thanks, that was so usefull

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