Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-622

Default number format does not show enough digits

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1
    • None
    • None

    Description

      In CompositeFormat, the getDefaultNumberFormat(final Locale locale) method contains

        nf.setMaximumFractionDigits(2);
      

      This default is too small.
      Also, it would be better to output the number in scientific notation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            erans Gilles Sadowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: