Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我遇到了一个有趣的事实,但不太明白为什么会这样:
$result = (int)((0.1+0.7)*10); echo $result; // print 7
为什么是 7,而不是 8?