摘要: 倒计时主要用到的知识点:1、设置时间间隔的setInterval可以被clearInterval取消 2、毫秒转换为时分格式 这个是效果图 下面是js中的函数 第二个是html资源,为了方便我css直接写在html中了 需要代码的小伙伴可以自行下载 链接:http://pan.baidu.com/s 阅读全文
posted @ 2017-07-25 17:26 whiteme 阅读(13222) 评论(1) 推荐(4) 编辑
摘要: 近期用到四舍五入想到以前整理了一点,就顺便重新整理好经常见到的一些四舍五入,后续遇到常用也会直接在这篇博客更新。。。 public class Demo{ public static void main(String args[]){ /** *Math.sqrt()//计算平方根 *Math.cb 阅读全文
posted @ 2017-07-25 15:13 whiteme 阅读(78460) 评论(5) 推荐(5) 编辑