Uploaded image for project: 'Commons Text'
  1. Commons Text
  2. TEXT-207

Include DoubleFormats utility from commons-geometry

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • None
    • None

    Description

      commons-geometry currently contains a DoubleFormats utility class in the commons-geometry-io-core module that produces standardized string representations of doubles for use in text-based data formats. It has the following features:

      • It is completely thread-safe.
      • It produces string in scientific, engineering, plain, or mixed (plain or scientific depending on value) formats.
      • Performance is comparable to DecimalFormat and BigDecimal.

      As mentioned on the dev mailing list, I believe that this class has broader applicability than just geometric data formats and would be a good fit for commons-text.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mattjuntunen Matt Juntunen
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h
                  7h