摘要:
打算学习react 使用create-react-app test-react-app创建项目,结果提示 You are running Node 12.16.2. Create React App requires Node 14 or higher. Please update your ver 阅读全文
摘要:
问题描述 需要将两个数➕起来,显示一个保留两位数的小数 比如 a = 7 b = x.toFixed(2) = 1.83 a + b 但最终却得到了8.8299999999999 原因: 1.83是我用toFix(2)得到的。 但问题是,计算机二进制在对小数进行计算的时候,采用双精度处理,就是会出现 阅读全文