# Float Number with more decimal places

**URL:** <https://forum.inductiveautomation.com/t/float-number-with-more-decimal-places/10306>\
**Category:** Ignition\
**Created:** [August 4, 2015, 4:49pm UTC](https://forum.inductiveautomation.com/t/float-number-with-more-decimal-places/10306 "2015-08-04T16:49:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![KenMay](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@KenMay](https://forum.inductiveautomation.com/u/KenMay)\
**Post date:** [August 4, 2015, 4:49pm UTC](https://forum.inductiveautomation.com/t/float-number-with-more-decimal-places/10306/1 "2015-08-04T16:49:01Z")

</div>

I have a Standard Transaction group that is recording the value of a real number in an AB Compact Logix. The real number is in the range 0.00004 but it only shows up in Ignition as 0.000 and it also stores it as a zero in the database. Is there anyway to get a few more decimal places?

---

<div class="post-metadata">

**Author:** ![ray.crowder](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@ray.crowder](https://forum.inductiveautomation.com/u/ray.crowder)\
**Post date:** [August 4, 2015, 7:01pm UTC](https://forum.inductiveautomation.com/t/float-number-with-more-decimal-places/10306/2 "2015-08-04T19:01:03Z")

</div>

Hi Ken,

I assumed that your OPC item in your transaction group was reading from a tag…

I was able to get a tag to display your number, 0.00004, by going to the Metadata of the Tag Editor and adding a few more #### after the decimal place.

Hope this helps

---

<div class="post-metadata">

**Author:** ![KenMay](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@KenMay](https://forum.inductiveautomation.com/u/KenMay)\
**Post date:** [August 5, 2015, 10:53am UTC](https://forum.inductiveautomation.com/t/float-number-with-more-decimal-places/10306/3 "2015-08-05T10:53:00Z")

</div>

Do you change it here?

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/42ece7700ae4b598a50335e01c96474258c501c0.JPG)

---

<div class="post-metadata">

**Author:** ![ray.crowder](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@ray.crowder](https://forum.inductiveautomation.com/u/ray.crowder)\
**Post date:** [August 5, 2015, 12:43pm UTC](https://forum.inductiveautomation.com/t/float-number-with-more-decimal-places/10306/4 "2015-08-05T12:43:32Z")

</div>

Yes, I did. Did this work for you?

---

<div class="post-metadata">

**Author:** ![KenMay](https://avatars.discourse-cdn.com/v4/letter/k/839c29/32.png) [@KenMay](https://forum.inductiveautomation.com/u/KenMay)\
**Post date:** [August 6, 2015, 1:46pm UTC](https://forum.inductiveautomation.com/t/float-number-with-more-decimal-places/10306/5 "2015-08-06T13:46:12Z")

</div>

No I could not get it to work. It still displays only 3 decimals.

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 6, 2015, 2:24pm UTC](https://forum.inductiveautomation.com/t/float-number-with-more-decimal-places/10306/6 "2015-08-06T14:24:56Z")

</div>

You may have to grab it as a string. That may also mean changing the datatype of the db column, as well.

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [August 6, 2015, 10:23pm UTC](https://forum.inductiveautomation.com/t/float-number-with-more-decimal-places/10306/7 "2015-08-06T22:23:35Z")

</div>

Are you using the database query browser to look at the value?  
Try looking at the value directly from the table using workbench / management studio.
