You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Martin Desruisseaux (JIRA)" <ji...@apache.org> on 2018/07/19 22:43:00 UTC
[jira] [Resolved] (SIS-382) SI multiples not recognized when
applied on kilogram
[ https://issues.apache.org/jira/browse/SIS-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux resolved SIS-382.
-------------------------------------
Resolution: Fixed
> 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
> Priority: Major
> 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)}} or {{Units.GRAM.divide(1000)}} should produce the "mg" unit, but we get "1E-6 ยท kg" instead.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)