sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-382) SI multiples not recognized when applied on kilogram
Date Fri, 29 Dec 2017 17:08:02 GMT
Martin Desruisseaux created SIS-382:
---------------------------------------

             Summary: SI multiples not recognized when applied on kilogram
                 Key: SIS-382
                 URL: https://issues.apache.org/jira/browse/SIS-382
             Project: Spatial Information Systems
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 0.8
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 1.0


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)}}
should produce de "mg" unit, but we get "1E-6 ยท kg" instead.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message