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

SI multiples not recognized when applied on kilogram

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8
    • 1.0
    • Utilities
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment