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

**URL:** <https://discourse.nodered.org/t/how-can-i-change-the-value-in-the-function-node-with-a-numeric-node/17453>\
**Category:** General\
**Created:** [3 November 2019 06:18 UTC](https://discourse.nodered.org/t/how-can-i-change-the-value-in-the-function-node-with-a-numeric-node/17453 "2019-11-03T06:18:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sioenl](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@sioenl](https://discourse.nodered.org/u/sioenl)\
**Post date:** [3 November 2019 06:18 UTC](https://discourse.nodered.org/t/how-can-i-change-the-value-in-the-function-node-with-a-numeric-node/17453/1 "2019-11-03T06:18:49Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [3 November 2019 06:38 UTC](https://discourse.nodered.org/t/how-can-i-change-the-value-in-the-function-node-with-a-numeric-node/17453/2 "2019-11-03T06:38:04Z")

</div>

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

> <https://stackoverflow.com/questions/14718561/how-to-check-if-a-number-is-between-two-values>
