# Slider data type

**URL:** <https://forum.inductiveautomation.com/t/slider-data-type/3864>\
**Category:** Ignition\
**Created:** [January 16, 2012, 7:00am UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864 "2012-01-16T07:00:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Mendonca](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@Joseph\_Mendonca](https://forum.inductiveautomation.com/u/Joseph_Mendonca)\
**Post date:** [January 16, 2012, 7:00am UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/1 "2012-01-16T07:00:40Z")

</div>

Does the slider support float data types? Need to get it to .5 increments.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 16, 2012, 3:33pm UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/2 "2012-01-16T15:33:22Z")

</div>

No, it doesn’t right now. You can always multiply by a factor of 10.

---

<div class="post-metadata">

**Author:** ![Joseph\_Mendonca](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@Joseph\_Mendonca](https://forum.inductiveautomation.com/u/Joseph_Mendonca)\
**Post date:** [January 16, 2012, 4:22pm UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/3 "2012-01-16T16:22:17Z")

</div>

Thanks Travis. Is it in the near future that the slider will accept other data types?

---

<div class="post-metadata">

**Author:** ![Joseph\_Mendonca](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@Joseph\_Mendonca](https://forum.inductiveautomation.com/u/Joseph_Mendonca)\
**Post date:** [January 16, 2012, 6:22pm UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/4 "2012-01-16T18:22:32Z")

</div>

X .1

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [January 18, 2012, 2:03am UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/5 "2012-01-18T02:03:41Z")

</div>

I added a ticket but don’t know when the developers will add it to Ignition. If I have any updates I will post it here.

---

<div class="post-metadata">

**Author:** ![NevergoldMel](https://avatars.discourse-cdn.com/v4/letter/n/e36b37/32.png) [@NevergoldMel](https://forum.inductiveautomation.com/u/NevergoldMel)\
**Post date:** [May 5, 2013, 11:42am UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/6 "2013-05-05T11:42:38Z")

</div>

I’ve got to have this slider work way down to the ten thousandths.  
You just can’t be controlling chemical doing at water treatment plants in integers.  
I guess I could use µGPM but you know how end users hate having their units converted on them.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [May 10, 2013, 4:42pm UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/7 "2013-05-10T16:42:17Z")

</div>

While I totally agree that we should have the slider support floating point values, this is a good opportunity to show off the power of our template system. In a few minutes I created my own floating point slider template, which you could use in your own projects!  
[Float\_Slider.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/bdd6ced5a0af4b1cce3f1b9c640ab0cec1e4e818.proj) (8 KB)

---

<div class="post-metadata">

**Author:** ![mmcpartland](https://avatars.discourse-cdn.com/v4/letter/m/df705f/32.png) [@mmcpartland](https://forum.inductiveautomation.com/u/mmcpartland)\
**Post date:** [November 29, 2018, 11:37pm UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/8 "2018-11-29T23:37:26Z")

</div>

[Float\_Slider.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/4254528b79e037bc0b59e24841b1e226daf34c9f.proj) (10.4 KB)

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [September 2, 2022, 12:43pm UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/9 "2022-09-02T12:43:47Z")

</div>

Has support for this ever been added in perspective?

---

<div class="post-metadata">

**Author:** ![zacht](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Post date:** [September 2, 2022, 2:29pm UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/10 "2022-09-02T14:29:41Z")

</div>

You’re resurrecting a very old thread, but yes, you can set `props.step` to 0.5 and the built-in slider will provide values on that increment.

---

<div class="post-metadata">

**Author:** ![Wesley\_Waters](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/wesley_waters/32/38300_2.png) [@Wesley\_Waters](https://forum.inductiveautomation.com/u/Wesley_Waters)\
**Post date:** [September 6, 2022, 7:38pm UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/11 "2022-09-06T19:38:25Z")

</div>

I created a slider with the following settings.  
min: 0, max: 1, step: 0.1  
Labels… show: true, interval: 0.1

When I do this it displays the 0 and that is all. It will allow me to select the values between 0 and 1, but it doesn’t display the values.

Should I create a new thread instead of resurrecting an old thread?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [September 6, 2022, 7:51pm UTC](https://forum.inductiveautomation.com/t/slider-data-type/3864/12 "2022-09-06T19:51:34Z")

</div>

> [@Wesley\_Waters](#):
>
> Should I create a new thread ... ?

Yes, and add the _Vision_ or _Perspective_ tag as appropriate. This thread predates Perspective.
