首页
Java
登录
6mi
u
盘
搜
搜 索
Java
toFixed() is not a function
toFixed() is not a function
xiaoxiao
2021-02-28
103
toFixed只能针对数字类型才能使用,所以对于字符类型的要用parseFloat或者parseInt函数先转一下再调用
转载请注明原文地址: https://www.6miu.com/read-37266.html
技术
最新回复
(
0
)