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

Add a more complex locale example to Number QML documentation

    XMLWordPrintable

Details

    • 1c076189c (dev), 443a0606f (6.6), f2eab492c (6.5)

    Description

      Add a more complex example to Number QML documentation so users will know about its capability e.g. setting options.

      var locale = Qt.locale("de_DE");
      var d;
      d = Number(1000).toLocaleString(locale)); // d == 1.000,00
      locale.numberOptions = Locale.OmitGroupSeparator;
      d = Number(1000).toLocaleString(locale)); // d == 1000,00
      

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            henning Henning Gründl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes