Hello everybody.
When I write the code...
...it outputs 8.38656e+006 yet when I do it with Windows Calculator I get 8386556.57. Why is this? I'm not very good at maths and don't really understand what the e+006 on the end of my result means. Also not being very good at maths I can't work out why I get different results. Also is it possible to out put the result without the e+006 notation on the end?
Thanks for you help
Andrew
When I write the code...
Code:
cout << 83865.5657 / 0.01;
...it outputs 8.38656e+006 yet when I do it with Windows Calculator I get 8386556.57. Why is this? I'm not very good at maths and don't really understand what the e+006 on the end of my result means. Also not being very good at maths I can't work out why I get different results. Also is it possible to out put the result without the e+006 notation on the end?
Thanks for you help
Andrew