Формат Java Double No Decimal Place

int x = (int) y
DevPedrada