# Exponential numbers in visualisation(metric)

**URL:** https://discuss.elastic.co/t/exponential-numbers-in-visualisation-metric/211994
**Category:** Kibana
**Created:** [December 16, 2019, 11:30am UTC](https://discuss.elastic.co/t/exponential-numbers-in-visualisation-metric/211994 "2019-12-16T11:30:52Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Angelos](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Angelos](https://discuss.elastic.co/u/Angelos)
#### Post date: [December 16, 2019, 11:30am UTC](https://discuss.elastic.co/t/exponential-numbers-in-visualisation-metric/211994/1 "2019-12-16T11:30:52Z")

</div>

Hello,

I am trying to visualise a value using metric but numbers are very small.  
So the metric visualisation looks like this:  
`5.123,123,123,324,234e-53`  
I went to index pattern and tried to change the formater but I could not make it shorter.  
Can I show this number shorter?

Thank you very much in advance!

Kind regards,  
Angelos

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [December 16, 2019, 11:26pm UTC](https://discuss.elastic.co/t/exponential-numbers-in-visualisation-metric/211994/2 "2019-12-16T23:26:13Z")

</div>

Hey @Angelos, you can use an Index Pattern or Advanced Settings with a [Numeral.js format](http://numeraljs.com/#format); however, none of them that I'm seeing work well with super small numbers. They can be used to truncate numbers like `100.111111` to `100.11` but they won't display `5.123,123,123,324,234e-53` any differently.

Ideally, how would you like this to be displayed? `5.123e-53`?

---

<div class="post-metadata">

### Author: ![Angelos](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Angelos](https://discuss.elastic.co/u/Angelos)
#### Post date: [December 17, 2019, 12:14pm UTC](https://discuss.elastic.co/t/exponential-numbers-in-visualisation-metric/211994/3 "2019-12-17T12:14:32Z")

</div>

Hey @Brandon_Kobel,  
Thank you for the fast response! I have tried to format it using Numeral.js but as you said it is a very small number.  
Yes, I would like to be displayed as 5.123e-53.

/Angelos

---

<div class="post-metadata">

### Author: ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)
#### Post date: [December 17, 2019, 2:31pm UTC](https://discuss.elastic.co/t/exponential-numbers-in-visualisation-metric/211994/4 "2019-12-17T14:31:27Z")

</div>

Hey @Angelos, would you mind opening up a [feature request](https://github.com/elastic/kibana/issues/new?template=Feature_request.md) for this? Numeral.js supports custom formatters, but it's something that would require code changes in Kibana itself.

---

<div class="post-metadata">

### Author: ![Angelos](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Angelos](https://discuss.elastic.co/u/Angelos)
#### Post date: [December 19, 2019, 8:09am UTC](https://discuss.elastic.co/t/exponential-numbers-in-visualisation-metric/211994/5 "2019-12-19T08:09:52Z")

</div>

Thank you! I will do that.

/Angelos

---

<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: [January 16, 2020, 8:09am UTC](https://discuss.elastic.co/t/exponential-numbers-in-visualisation-metric/211994/6 "2020-01-16T08:09:52Z")

</div>

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