CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

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 05: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

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.