Hot dogs are fully cooked when you buy them from the store. Look at the label and it will say “fully cooked”, so there is no need to cook them before eating them. When you put them in water to heat them, they will heat up but floating is not an indication of “done ness” nor of a specific temperature.