denniswong34


SUBMITTED BY: denniswong34

DATE: Oct. 28, 2016, 5:37 a.m.

FORMAT: JavaScript

SIZE: 240 Bytes

HITS: 1333

  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4. <h1>JavaScript Numbers</h1>
  5. <p>Number can be written with or without decimals.</p>
  6. <p id="demo"></p>
  7. <script>
  8. document.getElementById("demo").innerHTML = 10.50;
  9. </script>
  10. </body>
  11. </html>

comments powered by Disqus