# How to split decimals on a value

**URL:** https://discourse.nodered.org/t/how-to-split-decimals-on-a-value/89468
**Category:** General
**Created:** [13 July 2024 20:59 UTC](https://discourse.nodered.org/t/how-to-split-decimals-on-a-value/89468 "2024-07-13T20:59:02Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [14 July 2024 08:28 UTC](https://discourse.nodered.org/t/how-to-split-decimals-on-a-value/89468/4 "2024-07-14T08:28:41Z")

</div>

Also see this previous post -

> [@Problems using '.toFixed()'](https://discourse.nodered.org/t/problems-using-tofixed/4192/14):
>
> If for example, you are displaying the value in a dashboard text node, you can always use angular filters to format the number. Adding {{msg.payload | number:1}} mph to the text node value format box will format a msg.payload from 18.31158 to 18.3 mph

---

_[View the full topic](https://discourse.nodered.org/t/how-to-split-decimals-on-a-value/89468)._
