# Template on window does not reflect number format change

**URL:** <https://forum.inductiveautomation.com/t/template-on-window-does-not-reflect-number-format-change/5046>\
**Category:** Ignition\
**Created:** [August 23, 2012, 5:08pm UTC](https://forum.inductiveautomation.com/t/template-on-window-does-not-reflect-number-format-change/5046 "2012-08-23T17:08:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![markdobtech](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@markdobtech](https://forum.inductiveautomation.com/u/markdobtech)\
**Post date:** [August 23, 2012, 5:08pm UTC](https://forum.inductiveautomation.com/t/template-on-window-does-not-reflect-number-format-change/5046/1 "2012-08-23T17:08:09Z")

</div>

Created a template and placed on window, later modified the number format pattern on the template. Saved template. Template displays correct format pattern, template on window does not. Deleted template on window, placed new instance of saved template, same problem.  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/073407fc201d9297b142e3cfb2f7667946fe8d1b.JPG)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/daeaa0aaffe93fb4aa7d61dabb6656c1d0b66045.JPG)

---

<div class="post-metadata">

**Author:** ![markdobtech](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@markdobtech](https://forum.inductiveautomation.com/u/markdobtech)\
**Post date:** [August 23, 2012, 5:36pm UTC](https://forum.inductiveautomation.com/t/template-on-window-does-not-reflect-number-format-change/5046/2 "2012-08-23T17:36:24Z")

</div>

It appears the format string will change only when it is modified at the tag level. Could be my assumption is incorrect that modifying it at the template instance level would override the tag level.

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [August 23, 2012, 5:53pm UTC](https://forum.inductiveautomation.com/t/template-on-window-does-not-reflect-number-format-change/5046/3 "2012-08-23T17:53:02Z")

</div>

When you drag a tag onto a component, the number format pattern of the component is bound to the FormatString property of a tag. If you make a change to the number format pattern of the component, but don’t remove the binding, the binding will change the format back when the component refreshes its bindings. The component will refresh the bindings when the component is initially “painted” or “repainted” on the screen, like when you drag the changed template into a window.

So the short answer is: remove the property binding for the format pattern property of the component.

---

<div class="post-metadata">

**Author:** ![markdobtech](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@markdobtech](https://forum.inductiveautomation.com/u/markdobtech)\
**Post date:** [August 23, 2012, 6:42pm UTC](https://forum.inductiveautomation.com/t/template-on-window-does-not-reflect-number-format-change/5046/4 "2012-08-23T18:42:33Z")

</div>

Makes sense. Thanks.
