# Slider with numbers

**URL:** <https://forum.kirupa.com/t/slider-with-numbers/327493>\
**Category:** Uncategorized\
**Created:** [March 5, 2012, 7:01am UTC](https://forum.kirupa.com/t/slider-with-numbers/327493 "2012-03-05T07:01:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeekTweak\_0](https://avatars.discourse-cdn.com/v4/letter/g/b5ac83/32.png) [@GeekTweak\_0](https://forum.kirupa.com/u/GeekTweak_0)\
**Post date:** [March 5, 2012, 7:01am UTC](https://forum.kirupa.com/t/slider-with-numbers/327493/1 "2012-03-05T07:01:37Z")

</div>

So i got the slider itself working, but how would I, for example with a slider length of 1 to 100 pixels create an array of numbers between 20 and 200? (or simply between numbers x and y)?

I figure theres tutorials all over the web for a formula, and that theres even a simple 9th grade math equation for it, but im simply too lazy.

Thanks in advance for any help…
