Programming Code Center(PCC)
[JS]

(PCC)::[How-to-use-JavaScript-numbers]::[js]

File Name : index.html

<!DOCTYPE html>
<html>
<body>

<h2>JavaScript Numbers</h2>

<p>Number can be written with or without decimals.</p>

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

<script>
document.getElementById("demo").innerHTML = 10.50;
</script>

</body>
</html>

Output :

JavaScript Numbers

Number can be written with or without decimals.