Results 1 to 2 of 2

Thread: format a QString like printf

  1. #1

    Default format a QString like printf

    Hi!
    I want to format a QString like i do it with printf("%10f", 1.01). How can i realize that?
    Thanks for your help!

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: format a QString like printf

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How can i convert qstring to money format ?
    By newermind in forum Qt Programming
    Replies: 9
    Last Post: 17th April 2016, 22:19
  2. Replies: 16
    Last Post: 21st May 2011, 12:22
  3. Replies: 5
    Last Post: 26th April 2009, 12:50
  4. problem in using printf
    By vishnu5 in forum Qt Programming
    Replies: 1
    Last Post: 15th December 2007, 18:16
  5. printf itself
    By mickey in forum General Programming
    Replies: 14
    Last Post: 29th September 2007, 23:54

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.