# Elasticsearch docvalue\_fields trims precision value

**URL:** <https://discuss.elastic.co/t/elasticsearch-docvalue-fields-trims-precision-value/224421>\
**Category:** Elasticsearch\
**Created:** [March 20, 2020, 1:08pm UTC](https://discuss.elastic.co/t/elasticsearch-docvalue-fields-trims-precision-value/224421 "2020-03-20T13:08:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nisham](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@nisham](https://discuss.elastic.co/u/nisham)\
**Post date:** [March 20, 2020, 1:08pm UTC](https://discuss.elastic.co/t/elasticsearch-docvalue-fields-trims-precision-value/224421/1 "2020-03-20T13:08:55Z")

</div>

Hello,

I have a scaled float field in my document, say **"data\_rate" : 342.43215678**. When I use docvalue\_fields in query on this data\_rate field, I'm getting the result as **"data\_rate" : 342.4321** and rest of the value is trimmed off.

Could someone please help me to solve this ?

Thanks in Advance.

---

<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:** [April 17, 2020, 1:22pm UTC](https://discuss.elastic.co/t/elasticsearch-docvalue-fields-trims-precision-value/224421/2 "2020-04-17T13:22:15Z")

</div>

Closed on April 17, 2020, 1:22pm UTC

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