# Kibana displays values such as 25.5 as 25.503

**URL:** <https://discuss.elastic.co/t/kibana-displays-values-such-as-25-5-as-25-503/182338>\
**Category:** Kibana\
**Created:** [May 23, 2019, 2:23am UTC](https://discuss.elastic.co/t/kibana-displays-values-such-as-25-5-as-25-503/182338 "2019-05-23T02:23:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [May 23, 2019, 2:23am UTC](https://discuss.elastic.co/t/kibana-displays-values-such-as-25-5-as-25-503/182338/1 "2019-05-23T02:23:41Z")

</div>

Hi,

I have a issue I don't understand. I got some numerical fields formatted as `half_float`. All my data looks like this:

25.5  
13.6  
19.3

Looking at Discovery the numbers show up as above. However for some reason some visualizations such as the Table viz sometimes add extra numbers behind the dot and something like 25.5 shows up as 25.503.

Other data that has `short` as the field type and source data that looks like 1200, 1556, 3761 etc. always shows up as 1,200, 1,556, 3,761 in Discovery as well as visualizations.

I tried different field types and converting the data to integer, float etc. in Logstash but nothing seems to fix the above issue.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [May 23, 2019, 1:41pm UTC](https://discuss.elastic.co/t/kibana-displays-values-such-as-25-5-as-25-503/182338/2 "2019-05-23T13:41:14Z")

</div>

If you want to display them all with only 1 decimal point you can change the format of the field in the Index pattern.

 ![number](https://us1.discourse-cdn.com/elastic/original/3X/2/2/22491c543c1fa6df39bc63ae42b285700f3f0251.png)

---

<div class="post-metadata">

**Author:** ![Sjaak01](https://avatars.discourse-cdn.com/v4/letter/s/73ab20/32.png) [@Sjaak01](https://discuss.elastic.co/u/Sjaak01)\
**Post date:** [May 23, 2019, 11:35pm UTC](https://discuss.elastic.co/t/kibana-displays-values-such-as-25-5-as-25-503/182338/3 "2019-05-23T23:35:53Z")

</div>

Hi Marius,

I have been using the field format up until know but I would like to use the color format instead.  
How come some visualizations are making up data that doesn't exist in the source document?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [May 24, 2019, 12:52pm UTC](https://discuss.elastic.co/t/kibana-displays-values-such-as-25-5-as-25-503/182338/4 "2019-05-24T12:52:08Z")

</div>

I think there it's due to how floating point number precision is treated in Javascript. We are working on improving this and also adding support for 64bit integers.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 21, 2019, 12:52pm UTC](https://discuss.elastic.co/t/kibana-displays-values-such-as-25-5-as-25-503/182338/5 "2019-06-21T12:52:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
