Answers for "double javascript"

-1

double javascript

<!DOCTYPE html>
<html>
<body>

<h2>JavaScript Numbers</h2>

<p>Numbers can be written with or without decimals:</p>

<p id="demo"></p>

<script>
var x = 3.14;
var y = 3;
document.getElementById("demo").innerHTML = x + "<br>" + y;
</script>

</body>
</html>
Posted by: Guest on March-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language