# Restrict function output to one or two significant figures

**URL:** <https://discourse.nodered.org/t/restrict-function-output-to-one-or-two-significant-figures/65740>\
**Category:** General\
**Created:** [28 July 2022 09:36 UTC](https://discourse.nodered.org/t/restrict-function-output-to-one-or-two-significant-figures/65740 "2022-07-28T09:36:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Surefire01](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/surefire01/32/71490_2.png) [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Post date:** [28 July 2022 09:57 UTC](https://discourse.nodered.org/t/restrict-function-output-to-one-or-two-significant-figures/65740/2 "2022-07-28T09:57:25Z")

</div>

It's OK folks, I found the solution here from a previous post

[[How can I limit a simple math function to 2 decimal places](https://discourse.nodered.org/t/how-can-i-limit-a-simple-math-function-to-2-decimal-places/34294)]

---

_[View the full topic](https://discourse.nodered.org/t/restrict-function-output-to-one-or-two-significant-figures/65740)._
