摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>JS</title> </head> <body> <div class="" style="height: 2000px;">top top top top top top top 阅读全文
posted @ 2016-09-29 16:50 Jweib 阅读(1797) 评论(0) 推荐(0) 编辑
摘要: Math.ceil() 功能:对一个数进行上取整。 语法:Math.ceil(x) 参数: x:一个数值。 返回值:返回大于或等于x,并且与之最接近的整数。 注:如果x是正数,则把小数“入”;如果x是负数,则把小数“舍”。 例: <script type="text/javascript">docu 阅读全文
posted @ 2016-09-29 10:57 Jweib 阅读(621) 评论(0) 推荐(0) 编辑