How can I change the value in the function node with a numeric node

i want to change the value with a numeric that is in the fuction node see here. if (msg.max> 23) {example from 0 to 30 with my numeric on my dashboard example number 23, otherwise I have to enter manually to another number

it’s better if your title explains the problem you are having, as it makes it more useful if others are searching for the same problem