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

SI multiples not recognized when applied on kilogram

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 1.0
    • Component/s: Utilities
    • Labels:
      None

      Description

      Multiplication or division by a power of 10 are automatically replaced by SI prefix when applicable. For example Units.METRE.multiply(1000) automatically assigns the "km" symbol to the resulting units. However this mechanism does not work with kilogram: Units.KILOGRAM.divide(1E6) or Units.GRAM.divide(1000) should produce the "mg" unit, but we get "1E-6 · kg" instead.

        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: