Hello,
i try to compare two double numbers with the same values but the querie is false
What ist the problem please, why does this dont match?
How is the solution?
i try to compare two double numbers with the same values but the querie is false
Inserted Code
double a,b; a=High[i]-Open[i]; //The Result is 0.0001 b=1.3333-1.3332; //The Result is 0.0001 if(a==b)Print("true"); //Result is false if(a>b)Print("true"); //Result is true if(a<b)Print("true"); //Result is false
How is the solution?