Search code examples
javaunits-of-measurementjscience

Java - JScience define a new unit


I want to define a new distance unit in JScience. The "Tutorial" section of the project website just leads to Javadoc which, while fairly complete, is a bit too dense for me to fathom how I actually go about defining my own unit.

Could you provide an example?

Cheers.

Pete


Solution

  • perhaps this other SO question about units in Java can help.