# Node Red Dashboard - Wert "umwandeln" in Dezimalformat

**URL:** <https://community.homey.app/t/node-red-dashboard-wert-umwandeln-in-dezimalformat/55240>\
**Category:** Fragen & Hilfe\
**Created:** [November 22, 2021, 10:07am UTC](https://community.homey.app/t/node-red-dashboard-wert-umwandeln-in-dezimalformat/55240 "2021-11-22T10:07:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SvenRhein](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@SvenRhein](https://community.homey.app/u/SvenRhein)\
**Post date:** [November 22, 2021, 10:07am UTC](https://community.homey.app/t/node-red-dashboard-wert-umwandeln-in-dezimalformat/55240/1 "2021-11-22T10:07:22Z")

</div>

Moin zusammen,

wisst ihr, wie ich einen Wert, z.B. 12345 in so einen Wert 12.345 in NodeRed Dashboard umwandeln kann? Also 1000er Trennzeichen.

Danke Euch

---

<div class="post-metadata">

**Author:** ![Undertaker](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/undertaker/32/53278_2.png) [@Undertaker](https://community.homey.app/u/Undertaker)\
**Post date:** [November 22, 2021, 10:55am UTC](https://community.homey.app/t/node-red-dashboard-wert-umwandeln-in-dezimalformat/55240/2 "2021-11-22T10:55:51Z")

</div>

Du kannst das beispielsweise mit Variablen machen  
Eine Zahlen-Variable anlegen und benennen z.B. Dezimal  
Dann einen Flow:  
Wenn: beliebiger Auslöser  
Dann: Logic  
Eine Variable berechnen  
Variable: Dezimal  
Formel: {{Ausgagngswert-Tag/1000}}

Aus 12345 wird 12.345  
Dann den Wert der Variablen Dezimal an Node Red senden.

Beispiel:

 ![Screenshot_20211122-115431_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/3/731f6e8a4bdda181fe4736b85f7492940fe77526.jpeg)

---

<div class="post-metadata">

**Author:** ![SvenRhein](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@SvenRhein](https://community.homey.app/u/SvenRhein)\
**Post date:** [November 22, 2021, 11:46am UTC](https://community.homey.app/t/node-red-dashboard-wert-umwandeln-in-dezimalformat/55240/3 "2021-11-22T11:46:08Z")

</div>

danke dir - ich meine, direkt in NodeRed Dashboar (ohne Homey) - die Daten kommen per MQTT aus iobroker… und er soll praktisch umformatiert werden
