How do I format gauge node value with comma symbols?

Hi everyone, how do i format gauge node value with coma symbols like 456,234,112?

Is that one value or three separate values?

Do you mean thousand separator ?

[{"id":"f3560c65193b6b38","type":"inject","z":"bf05578e63864ed4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"123456789","payloadType":"num","x":400,"y":400,"wires":[["ea790ec9decbf4c5"]]},{"id":"95ec1b7d8a76fa64","type":"debug","z":"bf05578e63864ed4","name":"debug 469","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":810,"y":400,"wires":[]},{"id":"ea790ec9decbf4c5","type":"change","z":"bf05578e63864ed4","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"$formatNumber(payload, '#,###.00')\t","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":400,"wires":[["95ec1b7d8a76fa64"]]}]


one value

yes brother i mean that

Ao are you saying you want to see the commas in the graph or are you just trying to display the dat properly in the graph?

If you create a small flow with an inject with some of the data connected to your graph and export it and past it not a reply it will be easier for us to see what you are doing.

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

   code goes here 

You can edit and correct your post by clicking the pencil :pencil2: icon.

See this post for more details - How to share code or flow json

i need to see on the gauge node

You may try to format as currency without symbol. Closest what I can figure out from top of my head ...


3 decimals also possible:

{{value | currency:"":3}}

how do i set it in the gauge node value as my message is {{msg.payload.waterVolume}}

Value format {{payload.waterVolume | number}} will format the number according to your locale settings.

For me this gives

Actually regular number filter does same trick

{{msg.payload.waterVolume | number:3}}

it works, thank you so much brother and others for the supports

then sorry is there any way to change the node red url icon photo to any photo?

Please open a new topic for different questions....

Also, have you searched the forum for an answer? this question has been raised previously.