
JavaScript中为何0.1+0.2不等于0.3?
本文共计456个文字,预计阅读时间需要2分钟。文件名:gistfile1.txt发现的问题:console.log(0.1 + 0.2);0.30000000000000004console.log(0.3 - 0.2);0.0999999
共收录篇相关文章

本文共计456个文字,预计阅读时间需要2分钟。文件名:gistfile1.txt发现的问题:console.log(0.1 + 0.2);0.30000000000000004console.log(0.3 - 0.2);0.0999999

本文共计206个文字,预计阅读时间需要1分钟。查看状态:`git status`比较差异:`git diff`查看readme.txt文件的修改:`git diff readme.txt`查看所有修改:`git diff`查看提交历史:`g