Slider value gets fractional values despite of integer sliderstep
@mottelet)
Reported by Stéphane MOTTELET (See the following example :
h=uicontrol('style','slider','units','normalized','position',[0.125 0.1 .75 .25],'sliderstep',[1 10],'callback','disp(gcbo.value)')
Clicking the slider with the mouse pointer gives this kind of output :
3.0556
3.0556
3.0556
BTW, you can note the erroneous "triple" callback. Moving with arrow keys is even worse :
1.
1.9999
2.9998
3.9997