Editor Arrow Download Open
<!DOCTYPE html> <html lang="en"> <head> <title>JavaScript Math.round function</title> </head> <body> <script type="text/javascript"> document.write(Math.round(4.60) + "<br />"); document.write(Math.round(8.32) + "<br />"); document.write(Math.round(0.96) + "<br />"); document.write(Math.round(0.49) + "<br />"); document.write(Math.round(-6.49) + "<br />"); document.write(Math.round(-2.80)); </script> </body> </html>
  Preview Arrow