[go: up one dir, main page]

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: Fri Dec 13 11:16:23 GMT 2024

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

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

Back to the top