Solved

double to CString

Posted on 2003-10-27
1
5,967 Views
Last Modified: 2013-11-20
Can i donvert "double" to "CString" ???
0
Comment
Question by:p_vladimir
1 Comment
 
LVL 19

Accepted Solution

by:
Dexstar earned 30 total points
ID: 9628291
p_vladimir:

     CString str;
     double  d = 3.5;

     str.Format( _T("%f"), d );

Format works like printf, and puts the formatted string into "str".

Hope that helps,
Dex*
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Login Script to Copy Folders 12 42
dog bark java program 15 111
zeroFront challenge 7 114
wordcount challenge 11 134
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question