From JLS 5.1.2: int big = 1234567890; float f = big; System.out.println(i - (int)f); is not 0, as the float values are not precise for nine significant digits.
確定! 回上一頁