<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>数学函数</title>
<script type="text/javascript">
var num=Math.ceil(5.2);
var num1=Math.floor(5.9);
var num2=Math.round(5.4);
var num3=Math.floor((Math.random()*10)+2);
alert(num3);

</script>
</head>

<body>
</body>
</html>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
  • 2021-12-26
  • 2021-07-25
  • 2021-06-27
猜你喜欢
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-05-18
  • 2022-03-08
  • 2022-12-23
相关资源
相似解决方案