/src/main/java/org/htmlunit/html/HtmlRangeInput.java
final double rest = step % step;
final double rest = value % step;
value = min; } } final double step = getStepNumeric(); value = value - min; int fact = (int) (value / step); <extra_id_0> if (rest >= step / 2) { fact++; } value = min + step * fact; if (!Double.isInfinite(value) && value == Math.floor(value)) { setRawValue(Integer.toString((int) value));