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.
今日、私は小さな PHP コードを書き始めましたが、混乱したので、ここに駐車しました。
<?php echo (int) ((0.5 + 0.3) * 10); // Outputs 8 as expected <?php echo (int) ((0.1 + 0.7) * 10); // Outputs 7 . How ????
誰かが詳細な説明で答えることができますか?