What Determines Whether An Object Floats