Name:
Anonymous
2007-02-28 8:06
ID:hNUN74R6
Hey /g/, how do I display a float without ".0" at the end when its value is an integer? Is there a string formatting thing to do this?
Name:
Anonymous
2007-02-28 13:08
ID:EofLCMMQ
Oh boy. Neither of you have used floats for anything serious.
Don't use equivalence when dealing with floats. Ever. Check that the difference is sufficiently small instead.