4
Contributors
4
Replies
27
Views
4 Years
Discussion Span
Last Post by kavya_55
0

Just what are you comparing for? The equality operator only tells you if they are equal; it won't give you which is the larger of the two. If you mean to determine which of two numbers is larger, you would use the inequality operators such as < (less than) or > (greater than).

0

hey i m jst cmparing for equality oly..
ma values are 1.0000029775773537376784127130643 nd 1.0000029775773537376784127228965....it mst return false..i m gettng it as true...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.