The time harmonic two-dimensional floating body problem is reformulated as a boundary integral equation by using a modified Green's function. The resulting integral equation extends over both the wetted portion of the floating body and the free surface. It is shown that this integral equation is free of irregular frequencies, that is, it has at most one solution. A numerical scheme is developed based on this boundary integral equation. Test results obtained by the present method agree well with those obtained by others.