All right folks, firstly, I am very sorry when I do not obey the rules - I do not have the concrete answer to the original question. Instead, I would like to refine the question to shed some light on the difficulty of the post: Most of the replies start with "if"... followed by some conditional statement. This is not the way you would handle the question when it boils down to evaluating the "equals" method for two distinct objects. Thus, re-phrasing the original question: exactly when are two objects "equal" by CONTRACT (considering cross-platform) when they contain intrinsic double or float values? If it was java.lang.Double or java.lang.Float I would rely on their respective equals method. In general, though, I suppose, this must not be dependent on situations such a THRESHOLD, libraries, fuzzies, wavelets, AI or the like... So, who is fond of JAVA, please help: what is the DEFINED answer to this question?