摘要:
parseInt,parseFloat,parseDouble在JS中是将值转换成相应的类型;你必须要这样,才能实现:想要精确到几位,就tofixed几在JS中格式化数据保留两位小数的函数的多种方法最好方法: var a = 9.39393; alert(a.toFixed(2)); 阅读全文
摘要:
一定要记得写后面的分号;http://www.runoob.com/linux/linux-shell-variable.html 这个页面的课程的循环教程是有问题的for color in yellow green white;do echo ${color}done利用循环列出某个目录... 阅读全文
摘要:
看这里。。。 /*** Created by yangming on 2015/8/6.*/function change_bill_detail(detail_id) { var css=$("#" + detail_id).css("display"); if(css=="bl... 阅读全文