I have written an if statement which states that when x == y a task should be carried out.
Now my values are in double and are decimal values the output is that x = 1.51675 and y= 1.51675 so they are the same. but when the statement is not executed and when i subtract y from x just to test the output is very strange its like 2.356exp-09
How can i stop this?
Now my values are in double and are decimal values the output is that x = 1.51675 and y= 1.51675 so they are the same. but when the statement is not executed and when i subtract y from x just to test the output is very strange its like 2.356exp-09
How can i stop this?