# Facet has weird formatting with decimal

**URL:** <https://discuss.elastic.co/t/facet-has-weird-formatting-with-decimal/11155>\
**Category:** Elasticsearch\
**Created:** [March 14, 2013, 1:04pm UTC](https://discuss.elastic.co/t/facet-has-weird-formatting-with-decimal/11155 "2013-03-14T13:04:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juuso\_Kosonen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juuso_kosonen/32/2432_2.png) [@Juuso\_Kosonen](https://discuss.elastic.co/u/Juuso_Kosonen)\
**Post date:** [March 14, 2013, 1:04pm UTC](https://discuss.elastic.co/t/facet-has-weird-formatting-with-decimal/11155/1 "2013-03-14T13:04:42Z")

</div>

Hey, I have long number as decimal in index, eq. 20001010,  
and I want to get facet of those fields, but it will be return faceted back  
like this: 2.0001010E7

Is there any chance that it could be returned as 20001010 in facet?

Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:46am UTC](https://discuss.elastic.co/t/facet-has-weird-formatting-with-decimal/11155/2 "2017-07-06T02:46:27Z")

</div>


