cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Possible loss of data.
Possible loss of data.
Feb 11, 2014 at 5:22pm UTC
omgbethy
(12)
I'm using: Sleep(1.5 * 2500); in my program but I'm getting this lovely warning:
conversion from 'double' to DWORD', possible loss of data.
Can anyone shed some advice on what to do about this?
Cheers:)
Feb 12, 2014 at 8:09am UTC
ak16
(119)
Warning saying - possible loss of data because may be while rounding up you do not get value after floating point.
i.e. you get rounded value.
Topic archived. No new replies allowed.