03 2021 档案
摘要:decoration: InputDecoration( contentPadding: EdgeInsets.symmetric(vertical: 0), // border: InputBorder.none, border: OutlineInputBorder(borderSide: Bo
阅读全文
摘要:在我们进行两个double运算时,例如:2..0-1.1 不是想象的输出0.9,而是0.89999999999999999。其主要原因是浮点数值采用二进制系统表示,而在二进制系统中无法精确的表示分数1/10。这就好像十进制无法精确地表示1/3一样。如果需要在数值计算中不含有任何舍入误差,就应该使用B
阅读全文

浙公网安备 33010602011771号