Greetings. I am familiar with the various options and tools in Node-RED to do rounding of integers and floats, but can something like this be done?
Let's assume I record an integer between 957 and 1021. Can one create a function whereby the value is rounded (up or down) to the nearest of the 4 values shown below?