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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3
    • Fix Version/s: 0.4
    • Component/s: Utilities
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: