# Limit tag values

**URL:** <https://forum.inductiveautomation.com/t/limit-tag-values/15386>\
**Category:** Ignition\
**Created:** [September 18, 2017, 11:40am UTC](https://forum.inductiveautomation.com/t/limit-tag-values/15386 "2017-09-18T11:40:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![BHASKAR](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@BHASKAR](https://forum.inductiveautomation.com/u/BHASKAR)\
**Post date:** [September 18, 2017, 11:40am UTC](https://forum.inductiveautomation.com/t/limit-tag-values/15386/1 "2017-09-18T11:40:27Z")

</div>

Hi,

I have a UDT tag with float type & data is coming directly from PLC. I am getting the decimal points up to 8 digits. I want to restrict this to 3 digits max. For example: 12.093383; I want to limit it to 12.093 only. How to do this… This is a real time tag,

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 18, 2017, 12:05pm UTC](https://forum.inductiveautomation.com/t/limit-tag-values/15386/2 "2017-09-18T12:05:45Z")

</div>

You control the display format of the number. See the “Number Format Pattern” property in components like the [Numeric Label](https://docs.inductiveautomation.com/display/DOC79/Numeric+Label), and the [numberFormat()](https://docs.inductiveautomation.com/display/DOC79/numberFormat) expression function. You can’t actually “fix” the number in most cases since fractional values are stored in binary and humans use decimals.

---

<div class="post-metadata">

**Author:** ![BHASKAR](https://avatars.discourse-cdn.com/v4/letter/b/f4b2a3/32.png) [@BHASKAR](https://forum.inductiveautomation.com/u/BHASKAR)\
**Post date:** [September 19, 2017, 5:27am UTC](https://forum.inductiveautomation.com/t/limit-tag-values/15386/3 "2017-09-19T05:27:15Z")

</div>

Thank you…
