Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: CString::Format Pin
CPallini30-May-07 22:41
mveCPallini30-May-07 22:41 
QuestionRe: CString::Format Pin
Bravoone_200630-May-07 22:51
Bravoone_200630-May-07 22:51 
AnswerRe: CString::Format Pin
CPallini30-May-07 23:08
mveCPallini30-May-07 23:08 
AnswerRe: CString::Format Pin
toxcct30-May-07 23:48
toxcct30-May-07 23:48 
JokeRe: CString::Format Pin
Rajesh R Subramanian31-May-07 3:17
professionalRajesh R Subramanian31-May-07 3:17 
QuestionRe: CString::Format Pin
Bravoone_200630-May-07 22:42
Bravoone_200630-May-07 22:42 
AnswerRe: CString::Format Pin
Cedric Moonen30-May-07 22:52
Cedric Moonen30-May-07 22:52 
AnswerRe: CString::Format Pin
CPallini30-May-07 22:59
mveCPallini30-May-07 22:59 
Don't you read documentation, do you? Mad | :mad:

try:
csText.Format("%.2f", nSum);

BTW nSum is a misnaming for a float if you are using Hungarian Notation.

Big Grin | :-D


If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

QuestionRe: CString::Format Pin
Bravoone_200630-May-07 23:09
Bravoone_200630-May-07 23:09 
AnswerRe: CString::Format Pin
CPallini30-May-07 23:22
mveCPallini30-May-07 23:22 
GeneralRe: CString::Format Pin
Hamid_RT31-May-07 1:50
Hamid_RT31-May-07 1:50 
AnswerRe: CString::Format Pin
Xing Chen30-May-07 23:12
Xing Chen30-May-07 23:12 
QuestionRe: CString::Format Pin
Bravoone_200630-May-07 23:31
Bravoone_200630-May-07 23:31 
AnswerRe: CString::Format Pin
_AnsHUMAN_ 30-May-07 23:36
_AnsHUMAN_ 30-May-07 23:36 
QuestionRe: CString::Format Pin
Bravoone_200630-May-07 23:40
Bravoone_200630-May-07 23:40 
AnswerRe: CString::Format Pin
Optimus Chaos30-May-07 23:44
Optimus Chaos30-May-07 23:44 
AnswerRe: CString::Format Pin
_AnsHUMAN_ 30-May-07 23:45
_AnsHUMAN_ 30-May-07 23:45 
AnswerRe: CString::Format Pin
Cedric Moonen30-May-07 23:48
Cedric Moonen30-May-07 23:48 
AnswerRe: CString::Format Pin
toxcct30-May-07 23:53
toxcct30-May-07 23:53 
JokeHey boy, What about a good tutorial on C programming? Pin
CPallini31-May-07 0:07
mveCPallini31-May-07 0:07 
GeneralRe: CString::Format Pin
toxcct30-May-07 23:51
toxcct30-May-07 23:51 
GeneralRe: CString::Format Pin
_AnsHUMAN_ 31-May-07 0:16
_AnsHUMAN_ 31-May-07 0:16 
AnswerRe: CString::Format Pin
Xing Chen30-May-07 23:37
Xing Chen30-May-07 23:37 
AnswerRe: CString::Format Pin
#realJSOP31-May-07 0:08
mve#realJSOP31-May-07 0:08 
JokeRe: CString::Format Pin
toxcct31-May-07 0:20
toxcct31-May-07 0:20 

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.