Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-141

MathFunctions.fractionDigitsForDelta(…) ignores the 'strict' argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.4
    • Utilities
    • None

    Description

      The MathFunctions.fractionDigitsForDelta(double, boolean) static method ignores the strict boolean argument. The method behaves as if the strict argument was always true. This is because the if (strict) {…} statement was forgotten near the method end.

      The consequence is that fractionDigitsForDelta(…, false) sometime returns a value higher than expected, which affect some internal calculation done by AngleFormat.

      Attachments

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: