----- 016-Math.html -----

 <!DOCTYPE html>
 <html>
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
     <title>Math</title>
 </head>
 <body>
 <script type="text/javascript">
     document.write("E= " + Math.E + "<br/>");
     document.write("PI= " + Math.PI + "<br/>");
     document.write("LN2= " + Math.LN2 + "<br/>");
     document.write("LN10= " + Math.LN10 + "<br/>");
     document.write("LOG2E= " + Math.LOG2E + "<br/>");
     document.write("LOG10E= " + Math.LOG10E + "<br/>");
     document.write("SQRT1_2= " + Math.SQRT1_2 + "<br/>");
     document.write("SQRT2= " + Math.SQRT2 + "<br/>");

     document.write("Math.floor(5.5)= " + Math.floor(5.5) + "<br/>");
     document.write("Math.round(5.5)= " + Math.round(5.5) + "<br/>");
     document.write("Math.ceil(5.5)= " + Math.ceil(5.5) + "<br/>");
     document.write("Math.abs(-5.555)= " + Math.abs(-5.555) + "<br/>");
     document.write("Math.exp(2)= " + Math.exp(2) + "<br/>");
     document.write("Math.max(5, 10)= " + Math.max(5, 10) + "<br/>");
     document.write("Math.pow(2, 10)= " + Math.pow(2, 10) + "<br/>");
     document.write("Math.random()= " + Math.random() + "<br/>");
     document.write("Math.sqrt(2)= " + Math.sqrt(2) + "<br/>");
 </script>
 </body>
 </html>

最新文章

  1. SQL Server 2008 R2——以特定符号出现的次数来判断当前内容所在的层次
  2. Activiti学习(一) 环境搭建
  3. thinkphp 完整配置config.php
  4. MongoDB (六) MongoDB 集合操作
  5. UVA10361 - Automatic Poetry
  6. [转]maven插件的开发
  7. CentOS Linux修改系统时区
  8. js正则函数中test和match的区别
  9. JSP基本语法--包含指令&lt;%@include file=&quot;路径&quot;%&gt; &lt;jsp:include page&gt;
  10. Ngnix技术研究系列2-基于Redis实现动态路由
  11. docker容器安装及使用技巧
  12. Cocoa包管理器之Carthage详解及CocoaPods中心化+Carthage的二进制化
  13. 转载:C++中堆和栈的区别
  14. vhdl verilog
  15. 腾讯云服务器tomcat端口无法访问
  16. MySQL优化(二) 优化诀窍
  17. [转帖]Mysql 开启跟踪的一个方法
  18. 【Jmeter测试】接口请求完成后,查询数据库结果,检测数据存储是否正确
  19. .net core系列之《对AOP思想的理解及使用AspectCore实现自定义日志拦截》
  20. [bzoj3993][SDOI2015]星际战争-二分+最大流

热门文章

  1. word图文混排复制到UEditor图片不显示
  2. Django工程搭建
  3. mysql问题处理记录
  4. Alpha冲刺 - (3/10)
  5. libtool 创建库的工具
  6. CentOS下双网卡绑定-bond0
  7. C - Roll-call in Woop Woop High
  8. 搭建一台deeplearning的服务器
  9. 二、RHCSA试题解析
  10. docker - 从安装到部署一个web应用(go、java)