If you divide the int into double, you will be left with a double result, as shown in the unit test.
@Test public void testIntToDouble() throws Exception { final int x = 56472201; Assert.assertEquals(56.472201, x / 1e6d); }
1e6d is 1 * 10^6 , represented as double
Jon freedman
source share