Results 1 to 4 of 4

Thread: numeric value problem...

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: numeric value problem...

    Thanks for your help and your time!!!

    PD/ About qt docs, i did it and i didn't find the answer..... that's is the post reason!!

  2. #2
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    76
    Thanked 37 Times in 32 Posts

    Default Re: numeric value problem...

    Then look closer
    QString QString::number ( double n, char format = 'g', int precision = 6 ) [static]

    This is an overloaded member function, provided for convenience.
    Returns a string equivalent of the number n, formatted according to the specified format and precision. The format can be 'f', 'F', 'e', 'E', 'g' or 'G' (see the arg() function documentation for an explanation of the formats).
    Unlike QLocale::toString(), this function does not honor the user's locale settings.
    See also setNum() and QLocale::toString().
    We can't solve problems by using the same kind of thinking we used when we created them

Similar Threads

  1. [QMYSQL] connection problem
    By chaos_theory in forum Installation and Deployment
    Replies: 5
    Last Post: 2nd July 2007, 09:52
  2. QTimer problem ... it runs but never triggs
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 12:54
  3. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  4. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.