# Truncated float number to int problem

**URL:** <https://discuss.elastic.co/t/truncated-float-number-to-int-problem/330811>\
**Category:** Kibana\
**Tags:** visualisation\
**Created:** [April 26, 2023, 9:10am UTC](https://discuss.elastic.co/t/truncated-float-number-to-int-problem/330811 "2023-04-26T09:10:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Hermo\_Blanco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david_hermo_blanco/32/118060_2.png) [@David\_Hermo\_Blanco](https://discuss.elastic.co/u/David_Hermo_Blanco)\
**Post date:** [April 26, 2023, 9:10am UTC](https://discuss.elastic.co/t/truncated-float-number-to-int-problem/330811/1 "2023-04-26T09:10:02Z")

</div>

![imagen](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9bc14611b19bcdd2babb025ca9eb21d39af7ecbb.png)  
I have a float number of shipping price. When I go to new table in dashboard, this field has a integer number.  
 ![imagen](https://us1.discourse-cdn.com/elastic/original/3X/f/c/fc255dbc7755c758ac61b8b46335e458336dd30d.png)

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [May 4, 2023, 1:47pm UTC](https://discuss.elastic.co/t/truncated-float-number-to-int-problem/330811/2 "2023-05-04T13:47:41Z")

</div>

Have you tried to download the `Raw CSV` from the inspector screen to check how the actual data looks like?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef886f553bc2b879c0e5fdc882b99b55498e26fa.png)

Alternatively you can also check the Elasticsearch response switching from the `View: Data` option to `Requests`, and there see the `Response` tab and look for your numbers. In my case the `$39.49` value from the second row is actually `39.4921875`.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/c/ecd3cf27b78fedc0020f6d4d656eac8310d95f24.png)

Finally, your first screenshot does not show any specific value for the format. If I remove the format for the field on my table I get three decimals so it is not exactly the same you are showing.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e73a2c2ba5f27a92dd814acbf589c94e9f6e10e0.png)

I'm also running my tests on `8.7.1` so it would be good to know which version are you running as well.

---

<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 1, 2023, 1:48pm UTC](https://discuss.elastic.co/t/truncated-float-number-to-int-problem/330811/3 "2023-06-01T13:48:25Z")

</div>

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