# How to separate digits for influxdb

**URL:** <https://discourse.nodered.org/t/how-to-separate-digits-for-influxdb/78666>\
**Category:** General\
**Tags:** influxdb\
**Created:** [24 May 2023 18:08 UTC](https://discourse.nodered.org/t/how-to-separate-digits-for-influxdb/78666 "2023-05-24T18:08:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nagi](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@Nagi](https://discourse.nodered.org/u/Nagi)\
**Post date:** [24 May 2023 18:08 UTC](https://discourse.nodered.org/t/how-to-separate-digits-for-influxdb/78666/1 "2023-05-24T18:08:46Z")

</div>

Dear all,

can you pleas help me, i am turning around for days.

I have to seperate in this case the "5838.86" from the rest to push the number to the infludb. How can I do that?

 ![Bildschirmfoto_2023-05-24_20-02-16](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/1/d14a703f3331697ae63e282b2846ac4b4090e467.png)

best regards  
Nagi

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [24 May 2023 18:53 UTC](https://discourse.nodered.org/t/how-to-separate-digits-for-influxdb/78666/2 "2023-05-24T18:53:38Z")

</div>

The influx node accepts a value in msg.payload, so you don't need to do anything.

---

<div class="post-metadata">

**Author:** ![Nagi](https://avatars.discourse-cdn.com/v4/letter/n/f6c823/32.png) [@Nagi](https://discourse.nodered.org/u/Nagi)\
**Post date:** [24 May 2023 21:02 UTC](https://discourse.nodered.org/t/how-to-separate-digits-for-influxdb/78666/3 "2023-05-24T21:02:24Z")

</div>

🤦‍♂️  
I was so engrossed in youtube videos, all of which only transferred individual values to influxdb, that I didn't think it would work.

it works  
Thank You Colin!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 June 2023 21:02 UTC](https://discourse.nodered.org/t/how-to-separate-digits-for-influxdb/78666/4 "2023-06-07T21:02:36Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
