# Read Tag with Formatting - Best Practice

**URL:** <https://forum.inductiveautomation.com/t/read-tag-with-formatting-best-practice/109648>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [August 12, 2025, 3:42pm UTC](https://forum.inductiveautomation.com/t/read-tag-with-formatting-best-practice/109648 "2025-08-12T15:42:13Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [August 12, 2025, 4:57pm UTC](https://forum.inductiveautomation.com/t/read-tag-with-formatting-best-practice/109648/9 "2025-08-12T16:57:21Z")

</div>

Here's a method to use the FormatString defined in the tag. It might work for you. The sample memory tag is a float with value = 32.1234567,

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/b/0bae54aac936cd91e5691dd4862eda8b2be2320e.png)

- Create three custom properties on the label.

1. Right-click on the tag, copy path, and paste it in here.
2. Create an indirect tag binding on `custom.tagValue`.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/4/741c647ba0815776979f8d72bcaadfa43135f4f5.png)
3. Create an indirect tag binding on `custom.formatString`.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/3/f372da2988df622d7c28368d5a67c9584c77f091.png)
4. Create an expression binding on `props.text`.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/c/1c960f061d00cb3b93413500c88c1e42ef3b3677.png)  
Expression: `numberFormat({this.custom.tagValue}, {this.custom.formatString})`

You should now be able to copy the label as often as required, set the tagPath and everything should work.

Adding the EngUnit is an exercise left to the reader.

Here's a link to a post written by a younger me: [Creating a Perspective tag-drop view (almost) [solution]](https://forum.inductiveautomation.com/t/creating-a-perspective-tag-drop-view-almost-solution/43376). It might give some ideas.

---

_[View the full topic](https://forum.inductiveautomation.com/t/read-tag-with-formatting-best-practice/109648)._
