Slider steps does not returns fraction instead of integer, is it a bug?
I am new so i modified one of the demos to try out slider.
Im using the following code to generate slider
$('#example2').slider({ steps: 10, stepping: 10, minValue:0, maxValue:
100, change: function(e,ui) { console.log(ui.value); } });
The values that i receive at every step are listed below. It should
have been 0, 10, 20, 30 etc
Is it a bug or is it the normal output? How can i get normal integer
output as 10, 20 etc?
Example URL: http://www.asim.pk/slider_sample.php
0
9.67741935483871
19.892473118279568
29.56989247311828
39.784946236559136
50
59.67741935483871
69.89247311827957
79.56989247311827
89.78494623655914
100