This site is mobile accessible. Press the "Tap Here" button to use a smaller font-size.

Smartphone icons created by Freepik - Flaticon

JavaScript Numbers

Numbers can be written with or without decimals:


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