Math.abs()方法 取绝对值
摘要:
定义和用法 abs() 方法可返回数的绝对值。 语法 返回值 x 的绝对值。 实例 在本例中,我将取得正数和负数的绝对值: <script type="text/javascript"> document.write(Math.abs(7.25) + "<br />") document.write 阅读全文
posted @ 2017-01-04 13:09 飞旋的留恋-ing 阅读(20198) 评论(0) 推荐(0)
浙公网安备 33010602011771号