okay thanks but what shall I do to get result -730511.5
Type: Posts; User: moja
okay thanks but what shall I do to get result -730511.5
double x ;
x = 20 -730531.5;
cout<< x;
when I run the code the result is -730512
why?
shouldn't it be -730511.5