toFixed

1,toFixed要使用与Number数据类型

2.parseInt将字符串转换为整形

3.parseFloat将字符串转换为浮点型

posted on 2018-06-21 13:59  薇薇123456  阅读(169)  评论(0)    收藏  举报

导航