# Chart shows float values instead of integers

**URL:** <https://community.openhab.org/t/chart-shows-float-values-instead-of-integers/16071>\
**Category:** Items & Sitemaps\
**Tags:** mqtt, charts\
**Created:** [November 2, 2016, 7:07am UTC](https://community.openhab.org/t/chart-shows-float-values-instead-of-integers/16071 "2016-11-02T07:07:54Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [November 3, 2016, 2:35pm UTC](https://community.openhab.org/t/chart-shows-float-values-instead-of-integers/16071/8 "2016-11-03T14:35:42Z")

</div>

In that case I’m at a loss. The behavior is not expected. What I would try:

- Use a Switch or Contact and see if that makes a difference
- Use db40 (if on OH 1.8) or SQLite instead of rrd4j and see if that makes a difference
- Punt and upgrade to the [Influx+Grafana solution](https://community.openhab.org/t/influxdb-grafana-persistence-and-graphing/13761)

---

_[View the full topic](https://community.openhab.org/t/chart-shows-float-values-instead-of-integers/16071)._
