Is 500 a floating point type?
益伦
益伦 2017-09-02 18:44:19
0
3
1496

document.write(parseInt("500eps") "<br/>");


##The output of this line after extracting the floating point type is "500 ”, shouldn’t it be non? (Integers are integers and decimals are floating point. Is there any problem with this understanding?)


益伦
益伦

reply all(3)
帅锅

Yes~

Come to my group to discuss and communicate~There are many experts in the group
218289437

ringa_lee

parseInt is forced to convert to integer type, which will intercept the first few digits of the string, and eps will filter them out, so it is 500

微祥云

No problem

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template