Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
A quick look at float and floats shows that there are two unrelated uses for the tags: floating-point numbers and a CSS style.
Is that useful to anybody? Should
floats be banned from any future uses?
I would also suggest that any current uses be changed to floating-point or css-floating but there are over 1,100 of them that have to be manually checked and edited.
asked Mar 25, 2011 at 21:55
5,17811 gold badge2121 silver badges2727 bronze badges
float is an actual keyword in C# and Java (and a few other languages too). It has a very specific meaning: a 32 bit single-precision floating point number.
I see your point about its ambiguity with CSS float. But I don't think your proposed solution is better than the current situation, although I would be in favor of creating a tag synonym for floats.
answered Mar 25, 2011 at 22:28
Not the answer you're looking for? Browse other questions tagged