unitsofmeasurement / uom-systems

Units of Measurement Systems
http://www.uom.systems
Other
36 stars 17 forks source link

Adjust UCUMConverterFormatter for Indriya 2 #128

Closed keilw closed 5 years ago

keilw commented 6 years ago

The JSR 385/Indriya 2 based Prefix implementations use different UnitConverter implementations, UCUMConverterFormatter is not adjusted to handle e.g. PowerOfIntConverter, so correct but ugly fallback formatting like "g.1000" instead of "kg" occurs.

andi-huber commented 5 years ago

Now solved with #146 ?

keilw commented 5 years ago

I hope so, are there JUnit tests to back it?

andi-huber commented 5 years ago

I've put some tests in place with #146 (those I've listed in the issue's description). But we might need more, or some sophisticated Test to check for all the predefined prefixes.

keilw commented 5 years ago

I hope so, as there is no PowerOfIntConverter, I guess we can close it.