Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-46595

QLocale::toCurrencyString doesn't allow to specify the number of decimal places displayed

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P3: Somewhat important
    • 5.7.0
    • 5.4.2
    • Core: Locales (i18n)
    • None
    • Kubuntu 15.04

    Description

      For financial applications, we need to display 4 decimals.
      With QLocale::toCurrencyString, this is not possible.

      This is possible to do it with KLocale::formatMoney.
      http://api.kde.org/4.x-api/kdelibs-apidocs/kdecore/html/classKLocale.html#a971b0e0b1a445708e55f0c2f39ad29ca

      Could be really interesting if Qt can do it.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dcape Dan Cape
            miraks Stéphane MANKOWSKI
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes