Check out example codes for "range in decimals html". It will help you in understanding the concepts better.

Code Example 1

<input type="range" name="points" min="1" max="10" 
       step="0.25" onchange="alert(this.value)"/>

Learn ReactJs, React Native from akashmittal.com