/src/main/java/org/htmlunit/html/HtmlRangeInput.java
value = value - min; final double step = getStepNumeric( ) ;
final double step = getStepNumeric ( ) ; value = value - min;
} else { if (value < min) { value = min; } } <extra_id_0> int fact = (int) (value / step); final double rest = value % step; if (rest >= step / 2) { fact++; } value = min + step * fact;