1 - Return 127Code:float a=127.2344,c; int b; b = abs(a); <====1 c = a - b; <====2
2 - Return 0.234375 and the correct is 0.2344 - ERROR.
Why this problem happen? I really need the correct value. óÒ
Tks very much ^^
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Thread: Why this error happen?Threaded View
|
Click Here to Expand Forum to Full Width |