摘要: var n=1.143212 (n.toString().split(".")[1].length 这个是把n 变为string 在用length 判断就可以了。 阅读全文
posted @ 2009-06-05 17:24 CarlZeng 阅读(174) 评论(0) 推荐(0) 编辑