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

Number.toExponential() ignores the fractionDigits parameter

    XMLWordPrintable

Details

    • 358436f32a4e35091e8b56e32cf639b303665426 (qtdeclarative)

    Description

      The function Number.toExponential() ignores the fractionDigits parameter as demonstrated in the attached code.
      Output should be:
      1.23456e+2
      1.235e+2
      1.23456000e+2
      But is 1.23456e+2 always.

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            schwann Guenter Schwann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes