I'm new to Visual C++, i have two double variables, let say AA = 10.650406
while b = 10.65040606439
, how can i make them equal?
here is an example
AA = 10.650406;
if (a == tempfunc(zz)) execute TRUEFUNCTION else exceute FALSEFUNCTION
the variable AA is a double while the function tempfunc return double, if the value AA is 10.650406, while the return value of tempfunc is 10.65040606439. the question is how can make these value equal so i can execute the function TRUEFUNCTION