Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » UOMo » Wrong Prefixes in Unit Calculation(Wrong Prefixes in Unit Calculation)
Wrong Prefixes in Unit Calculation [message #1740956] Sun, 21 August 2016 14:02
Ines Gradischnig is currently offline Ines GradischnigFriend
Messages: 1
Registered: August 2016
Junior Member
I am evaluating UOMo for our project and downloaded version 0.6 (stable) and 0.7 (snapshot). During my evaluation I compared UOMo with JScience and found some bugs in the prefix calculation:

For example:

UOMo:
Result of SI.GRAM.multiply(10) is 'cg'.
Result of SI.GRAM.multiply(100) is 'dg'.
Result of SI.GRAM.divide(10) is 'g·1.0E-4'.
Result of SI.GRAM.divide(100) is 'g·1.0E-5'.
Result of SI.GRAM.divide(1000) is 'µg'.

Compared with JScience 4.3.1:
Result of SI.GRAM.times(10) is 'dag'.
Result of SI.GRAM.times(100) is 'hg'.
Result of SI.GRAM.divide(10) is 'dg'.
Result of SI.GRAM.divide(100) is 'cg'.
Result of SI.GRAM.divide(1000) is 'mg'.

Where can I report bugs for UOMo ?

Previous Topic:Generic Elements containing BaseAmount
Goto Forum:
  


Current Time: Wed Sep 19 05:38:42 GMT 2018

Powered by FUDForum. Page generated in 0.01513 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top