I am a newbie to the forums and Node Red too.
I am using Node Red to control my darkroom equipment using 2 remote control sockets. The user inputs a time that triggers a counter, turns the light on and then when the counter ends switches the light off.
I would like to add to the basic functionality by displaying f/stop calculations on the dashboard for information. I need to apply the formula T x 2^+f to the message payload. The value T is the message payload input and f is the stop increase or decrease which will be specified in each function node. An increase of half a stop of light would be T x 2^+0.5
Can anyone assist in helping me for apply the formula in a way that the function node can understand correctly?