Hello everyone,
I have a question about doing arithmetic with C++. Say I have something like:
(71/10) - 7.0 and it gives me something like: 0.0999999. How can I get it to give me 0.1.
Cheers,
xarg
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 18
Thread: c++ precision questionThreaded View
|
Click Here to Expand Forum to Full Width |