# Gauge min max values dynamic

**URL:** <https://discourse.nodered.org/t/gauge-min-max-values-dynamic/336>\
**Category:** Dashboard\
**Created:** [23 May 2018 16:58 UTC](https://discourse.nodered.org/t/gauge-min-max-values-dynamic/336 "2018-05-23T16:58:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![karlbo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/karlbo/32/68793_2.png) [@karlbo](https://discourse.nodered.org/u/karlbo)\
**Post date:** [23 May 2018 16:58 UTC](https://discourse.nodered.org/t/gauge-min-max-values-dynamic/336/1 "2018-05-23T16:58:55Z")

</div>

i there, ive just started using dynamic min max values on my gauges, then i discovered that when ever i send a max value at above 1000 it adds a , after the first number  
 ![gauge](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/e0557d7e0fd98dd78141df3ffe3083b29cf8f7c1.PNG)  
i have trid to format my numbers in all ways i can, but still.  
anyway to combat this?  
looks silly when the donut has a maxvalue of 1,234 when the actual value is 1234 🙂

Best regards  
Karl

---

<div class="post-metadata">

**Author:** ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Post date:** [23 May 2018 19:13 UTC](https://discourse.nodered.org/t/gauge-min-max-values-dynamic/336/2 "2018-05-23T19:13:15Z")

</div>

If you lock for the payload with a debug node what you see?

Maybe you are using a old version of dashboard with this specific problem I don't know, the case is just for testing purposes I have tried to inject 1234 as number & as string and for me is working well.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/7031b7c6d280335f3f48503d266efef4f1cd62eb.jpg)

For me... crtoss check to ensure what is really the payload or update your dashboard version

Regards

---

<div class="post-metadata">

**Author:** ![karlbo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/karlbo/32/68793_2.png) [@karlbo](https://discourse.nodered.org/u/karlbo)\
**Post date:** [23 May 2018 19:47 UTC](https://discourse.nodered.org/t/gauge-min-max-values-dynamic/336/3 "2018-05-23T19:47:47Z")

</div>

actual value is 1234

---

<div class="post-metadata">

**Author:** ![karlbo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/karlbo/32/68793_2.png) [@karlbo](https://discourse.nodered.org/u/karlbo)\
**Post date:** [28 May 2018 06:01 UTC](https://discourse.nodered.org/t/gauge-min-max-values-dynamic/336/4 "2018-05-28T06:01:35Z")

</div>

It seems i fucket it up with my own code 🙂  
{{value | number:0}} deleting the decimals, had a unwanted effect  
will delete decimals before i send value to gauge  
Looking for the obvious is sometimes the hardest

Best regards  
Karl
