HJ90,
<!DOCTYPE HTML>
<html>
<head>
<title>Untitled</title>
</head>
<body>
<input type="range" id="slider" value="0" step="0.1" onchange="send()">
<input type="text" id="number">
<script>
function send() {
var result = +document.getElementById('slider').value
document.getElementById('number').value = result.toFixed(1)
}
send()
</script>
</body>
</html>