When the decimal's step is below 0.x, it doesn't work
ThPch opened this issue · 2 comments
ThPch commented
Description
Hello,
I'm trying to use this rangeslider to define a similarity coefficient (dice coefficient) and I need to be very precise on those decimal.
I was wondering how precision really works because I've tried a lot of variation without succeed in displaying more than 3 decimals.
See the jsfiddle : http://jsfiddle.net/ye2nwzbt/1/
Expected behaviour
Displaying every little step like 0.0001
Actual behaviour
Displaying only step of one decimal 0.1
ValentinH commented
Hi,
Precision is the number of decimals to be displayed. Thus, in your case, it should be set to 3: http://jsfiddle.net/a7Ldrr5c/.
The ReadMe wasn't really clear, I just added a bit more details: cf6cae6
ThPch commented
Thank you Valentin :)