convert CString to foat using _ttoi
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2

Thread: convert CString to foat using _ttoi

Threaded View

  1. #1
    Join Date
    Jun 2009

    convert CString to foat using _ttoi

    i am converting CString to float using _ttoi

    CString p; p=("1.122");
    CString y;
    float o;

    but answer is 1 and i need 1.122

    can anyone help me??
    Last edited by lasha; November 23rd, 2009 at 06:40 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This is a survey!

HTML5 Development Center