# Tag value with decimals

**URL:** <https://forum.inductiveautomation.com/t/tag-value-with-decimals/105714>\
**Category:** General Discussion\
**Created:** [April 29, 2025, 11:48pm UTC](https://forum.inductiveautomation.com/t/tag-value-with-decimals/105714 "2025-04-29T23:48:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cory\_Lambert](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@Cory\_Lambert](https://forum.inductiveautomation.com/u/Cory_Lambert)\
**Post date:** [April 29, 2025, 11:48pm UTC](https://forum.inductiveautomation.com/t/tag-value-with-decimals/105714/1 "2025-04-29T23:48:35Z")

</div>

I've got an OPC tag, float data type. I want the tag value to always have at least 3 decimal places. For example, if it's 0.5, I want the value to be 0.500. Is this possible without creating another expression tag with a number format on it?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 30, 2025, 12:02am UTC](https://forum.inductiveautomation.com/t/tag-value-with-decimals/105714/2 "2025-04-30T00:02:03Z")

</div>

No, you would not only need another tag, but that 2nd tag would need to be a String datatype.

Formatting like that is a concern at display time, not for in the tag browser.

---

<div class="post-metadata">

**Author:** ![Cory\_Lambert](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@Cory\_Lambert](https://forum.inductiveautomation.com/u/Cory_Lambert)\
**Post date:** [April 30, 2025, 12:16am UTC](https://forum.inductiveautomation.com/t/tag-value-with-decimals/105714/3 "2025-04-30T00:16:25Z")

</div>

Thanks for the reply, but I think I got it. I was able to change the format string tag numeric property to ###.000

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 30, 2025, 12:20am UTC](https://forum.inductiveautomation.com/t/tag-value-with-decimals/105714/4 "2025-04-30T00:20:44Z")

</div>

Ok I think I misunderstood a little, glad that's working for you!
