1<!DOCTYPE html>
2<html>
3<body>
4
5<h2>JavaScript Numbers</h2>
6
7<p>Numbers can be written with or without decimals:</p>
8
9<p id="demo"></p>
10
11<script>
12var x = 3.14;
13var y = 3;
14document.getElementById("demo").innerHTML = x + "<br>" + y;
15</script>
16
17</body>
18</html>
19