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