美文网首页
javascript Math方法

javascript Math方法

作者: 箫筱乐 | 来源:发表于2018-10-15 20:12 被阅读5次

    1.Math.ceil() 对上舍入
    2.Math.floor() 对下舍入
    3.Math.random() 0-1之间的小数
    4.Math.round() 四舍五入
    5.Math.abs() 绝对值
    6.Math.acos() 反余弦值
    7.Math.asin() 反正弦值
    8.Math.cos() 余璇
    9.Math.sin() 正璇
    10.Math.sqrt() 平方根

    相关文章

      网友评论

          本文标题:javascript Math方法

          本文链接:https://www.haomeiwen.com/subject/hyjqzftx.html