Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ certification Pin
celllllllll19-Jan-07 14:16
celllllllll19-Jan-07 14:16 
AnswerRe: C++ certification Pin
Christian Graus19-Jan-07 18:44
protectorChristian Graus19-Jan-07 18:44 
JokeRe: C++ certification Pin
Rajesh R Subramanian19-Jan-07 19:01
professionalRajesh R Subramanian19-Jan-07 19:01 
GeneralRe: C++ certification Pin
Christian Graus19-Jan-07 19:27
protectorChristian Graus19-Jan-07 19:27 
AnswerRe: C++ certification Pin
Waldermort19-Jan-07 19:07
Waldermort19-Jan-07 19:07 
QuestionHandling WM_QUERYENDSESSION message. Pin
oleg6319-Jan-07 9:02
professionaloleg6319-Jan-07 9:02 
AnswerRe: Handling WM_QUERYENDSESSION message. Pin
David Crow19-Jan-07 9:19
David Crow19-Jan-07 9:19 
Questiondivide by 10 problem Pin
IGeorgeI19-Jan-07 8:29
IGeorgeI19-Jan-07 8:29 
This has been a problem of mine for years.

It appears to be compiler specific which is why I put it in this section.

Run this piece of code



double test = 3.0/10.0;




The result of test is .299999999999999

I know why this happens. I was just wondering how some of you have solved this problem.


Big Grin | :-D
Thanks for any input


George W

Software Developer
www.zsystems.ca

AnswerRe: divide by 10 problem Pin
David Crow19-Jan-07 8:48
David Crow19-Jan-07 8:48 
GeneralRe: divide by 10 problem Pin
IGeorgeI19-Jan-07 8:55
IGeorgeI19-Jan-07 8:55 
GeneralRe: divide by 10 problem Pin
David Crow19-Jan-07 9:01
David Crow19-Jan-07 9:01 
GeneralRe: divide by 10 problem Pin
#realJSOP19-Jan-07 13:45
mve#realJSOP19-Jan-07 13:45 
GeneralRe: divide by 10 problem Pin
IGeorgeI19-Jan-07 16:22
IGeorgeI19-Jan-07 16:22 
AnswerRe: divide by 10 problem Pin
Chris Losinger19-Jan-07 9:08
professionalChris Losinger19-Jan-07 9:08 
AnswerRe: divide by 10 problem Pin
John R. Shaw21-Jan-07 1:38
John R. Shaw21-Jan-07 1:38 
QuestionCan't make CEdit::SetTabStops(int, LPINT) work Pin
Bill Brocklebank19-Jan-07 6:56
Bill Brocklebank19-Jan-07 6:56 
QuestionRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
David Crow19-Jan-07 7:06
David Crow19-Jan-07 7:06 
AnswerRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
John R. Shaw19-Jan-07 16:52
John R. Shaw19-Jan-07 16:52 
GeneralRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
Bill Brocklebank20-Jan-07 15:57
Bill Brocklebank20-Jan-07 15:57 
QuestionRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
David Crow22-Jan-07 3:20
David Crow22-Jan-07 3:20 
AnswerRe: Can't make CEdit::SetTabStops(int, LPINT) work Pin
John R. Shaw28-Jan-07 7:47
John R. Shaw28-Jan-07 7:47 
QuestionTransparent checkbox text? Pin
madmax000119-Jan-07 5:47
madmax000119-Jan-07 5:47 
AnswerRe: Transparent checkbox text? Pin
Mark Salsbery19-Jan-07 6:53
Mark Salsbery19-Jan-07 6:53 
GeneralRe: Transparent checkbox text? Pin
madmax000120-Jan-07 9:10
madmax000120-Jan-07 9:10 
GeneralRe: Transparent checkbox text? Pin
Mark Salsbery20-Jan-07 10:26
Mark Salsbery20-Jan-07 10:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.