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