diff --git a/dist/components/slider.js b/dist/components/slider.js index e4974dcdf3..206121ce45 100644 --- a/dist/components/slider.js +++ b/dist/components/slider.js @@ -789,9 +789,8 @@ $.fn.slider = function(parameters) { } // Use precision to avoid ugly Javascript floating point rounding issues // (like 35 * .01 = 0.35000000000000003) - difference = Math.round(difference * precision) / precision; module.verbose('Cutting off additional decimal places'); - return difference + module.get.min(); + return Math.round((difference + module.get.min()) * precision) / precision; }, keyMovement: function(event) { var