欣生活  

parseInt();返回整数, 有第二个参数,第二个参数是多少进制

parseFloat(); 可返回浮点数;没有第二个参数,默认10进制

posted on 2015-10-10 15:00  欣生活  阅读(245)  评论(0编辑  收藏  举报