/src/main/java/org/htmlunit/html/HtmlRangeInput.java
final double rest = value % step;final double max = getMaxNumeric( ) ;
final double max = getMaxNumeric ( ) ;
try { if (StringUtils.isNotEmpty(attributeValue)) { setRawValue(Double.parseDouble(attributeValue)); } else { final double min = getMinNumeric(); <extra_id_0> setRawValue(min + ((max - min) / 2)); } } catch (final NumberFormatException e) { } }