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