摘要: Javascript支持复杂的算术运算,这些复杂的算术运算通过作为Math对象的属性定义的函数和常量来实现: Math.pow(2,53) // => 2的53次方,幂的运算 Math.round(.6) // => 1.0:四舍五入 Math.ceil(.6) // => 1.0:向上求整 Mat 阅读全文
posted @ 2016-10-14 19:58 木马妈妈 阅读(300) 评论(0) 推荐(0) 编辑