00: Math.abs( ) //计算绝对值
01: Math.pow(x,y) //x的y次方
02: Math.randow( ) //返回0~1之间的随机数(不包括1)
03: Math.max(3,5,9,11,8,6) //返回最大值
04: Math.min(3,5,9,11,8,6) //返回最小值
00: Math.abs( ) //计算绝对值
01: Math.pow(x,y) //x的y次方
02: Math.randow( ) //返回0~1之间的随机数(不包括1)
03: Math.max(3,5,9,11,8,6) //返回最大值
04: Math.min(3,5,9,11,8,6) //返回最小值
本文标题:几个常用的Math函数
本文链接:https://www.haomeiwen.com/subject/rgeprftx.html
网友评论