JavaScript 数字JavaScript 数字<!DOCTYPE html><html><body> <h2>JavaScript 数值</h2> <p>写数值有无小数点均可。</p> <p id="demo"></p> <script>document.getElementById("demo").innerHTML = 15.90;</script> </body></html>