java why does a double round code example Example: double round java integer int a = (int) Math.round(doubleVar);