cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
how to compare two double values
how to compare two double values
Mar 24, 2014 at 6:01am
Mar 24, 2014 at 6:01am UTC
naveen2525
(24)
hello i want to compare two double values
double x = 3072.00000000;
double y = 3072.0000000;
when checking with if its not working
if(x==y) it not working please help me
Mar 24, 2014 at 6:11am
Mar 24, 2014 at 6:11am UTC
JLBorges
(13770)
See
http://c-faq.com/fp/fpequal.html
Topic archived. No new replies allowed.