/src/main/java/org/htmlunit/html/HtmlRangeInput.java
if ( ( !( isInfinite( value) ) ) && ( value == ( floor( value) ) ) ) {   super.setValue( toString( ( ( int) ( value) ) ) ) ; }else {   super.setValue( toString( value) ) ; }
[Delete]
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)); } }