辰迅云知识库

标签:parseInt

在使用parseInt时,需要注意以下事项:1. parseInt函数只能解析整数,如果解析的值是浮点数或者其他非整数类型的值,parseInt会将其截断为整数。2. parseInt函数会自动忽略字......