# Floats not been formatted corrctly

**URL:** <https://forum.inductiveautomation.com/t/floats-not-been-formatted-corrctly/2856>\
**Category:** Ignition\
**Created:** [April 12, 2011, 1:21pm UTC](https://forum.inductiveautomation.com/t/floats-not-been-formatted-corrctly/2856 "2011-04-12T13:21:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [April 12, 2011, 1:21pm UTC](https://forum.inductiveautomation.com/t/floats-not-been-formatted-corrctly/2856/1 "2011-04-12T13:21:35Z")

</div>

I have a SQLTag with the raw value of 2537, data type Float4.  
It has a scaling of: Raw high = 100 Scaled High = 1, clamp mode = none  
Format string is ##.# KV

looking at the tags Browser, it shows a value of 25.4

when I display in on a screen using it’s value and format string it shows as 25.  
eg:numberFomat(path\_to\_tag.value, path\_to\_tag.format)

What happened to the decimal point?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [April 12, 2011, 2:57pm UTC](https://forum.inductiveautomation.com/t/floats-not-been-formatted-corrctly/2856/2 "2011-04-12T14:57:35Z")

</div>

What component and what property are you using for display. It could be possible you are binding that expression to an integer property.

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [April 13, 2011, 10:46pm UTC](https://forum.inductiveautomation.com/t/floats-not-been-formatted-corrctly/2856/3 "2011-04-13T22:46:30Z")

</div>

I’m using a label

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [April 13, 2011, 11:37pm UTC](https://forum.inductiveautomation.com/t/floats-not-been-formatted-corrctly/2856/4 "2011-04-13T23:37:18Z")

</div>

Can you post an example of the problem? For example, you can export a window.

---

<div class="post-metadata">

**Author:** ![Robert](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@Robert](https://forum.inductiveautomation.com/u/Robert)\
**Post date:** [July 31, 2012, 6:48pm UTC](https://forum.inductiveautomation.com/t/floats-not-been-formatted-corrctly/2856/5 "2012-07-31T18:48:21Z")

</div>

Don’t remember this one. Must have been my problem that I solved.
