Further re Moritz' well-made point: You may find this informative, if you're not already familiar with some variant of "What every (computer scientist | programmer | one) should know about floats."
Basicly, no, a float is not necessarily a float in the sense that you can use it, willy-nilly, as a number. Alogrithms, truncation, repeating values can all trip you up.
Comment on Re: Difference between inline SQL and bound data