To rest on a surface without sinking. Also a number with a fractional part.
Old English flotian (to float), from Proto-Germanic *flutan; resting on a surface without sinking, extended in computing to a number carrying a fractional part that floats relative to the decimal point.
Resting on a surface without sinking, and, in data, a number whose decimal point is free to move rather than fixed.