# How to convert floating value into integer value for usage percentage

**URL:** https://discuss.elastic.co/t/how-to-convert-floating-value-into-integer-value-for-usage-percentage/265598
**Category:** Kibana
**Created:** [February 26, 2021, 10:55am UTC](https://discuss.elastic.co/t/how-to-convert-floating-value-into-integer-value-for-usage-percentage/265598 "2021-02-26T10:55:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![psganeshk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psganeshk/32/79059_2.png) [@psganeshk](https://discuss.elastic.co/u/psganeshk)
#### Post date: [February 26, 2021, 10:55am UTC](https://discuss.elastic.co/t/how-to-convert-floating-value-into-integer-value-for-usage-percentage/265598/1 "2021-02-26T10:55:54Z")

</div>

i need visualise the cpu usage and disk usage percentage value is to integer value

---

<div class="post-metadata">

### Author: ![psganeshk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/psganeshk/32/79059_2.png) [@psganeshk](https://discuss.elastic.co/u/psganeshk)
#### Post date: [February 26, 2021, 11:35am UTC](https://discuss.elastic.co/t/how-to-convert-floating-value-into-integer-value-for-usage-percentage/265598/2 "2021-02-26T11:35:06Z")

</div>

![Screen Shot 2021-02-26 at 5.03.53 PM](https://us1.discourse-cdn.com/elastic/original/3X/e/e/ee056df4e7f2dced7a8d83a78c858f88534fdbb7.png)  
i have to view on 51%

---

<div class="post-metadata">

### Author: ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)
#### Post date: [February 26, 2021, 3:50pm UTC](https://discuss.elastic.co/t/how-to-convert-floating-value-into-integer-value-for-usage-percentage/265598/3 "2021-02-26T15:50:03Z")

</div>

Hi @psganeshk - You should be able to change this by setting a custom data formatter in the "Options" tab:

![Screen Shot 2021-02-26 at 8.47.48 AM](https://us1.discourse-cdn.com/elastic/original/3X/1/7/17dc3eccb7a4dc9c773a7bb17a8c54a39d09260c.png)

---

<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: [March 26, 2021, 3:50pm UTC](https://discuss.elastic.co/t/how-to-convert-floating-value-into-integer-value-for-usage-percentage/265598/4 "2021-03-26T15:50:52Z")

</div>

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