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