# Problems using '.toFixed()'

**URL:** https://discourse.nodered.org/t/problems-using-tofixed/4192
**Category:** General
**Created:** [22 October 2018 14:47 UTC](https://discourse.nodered.org/t/problems-using-tofixed/4192 "2018-10-22T14:47:19Z")
**Posts on this page:** 1
**Showing post:** 14

<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: [22 October 2018 19:44 UTC](https://discourse.nodered.org/t/problems-using-tofixed/4192/14 "2018-10-22T19:44:35Z")

</div>

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/problems-using-tofixed/4192)._
