How can I change or override a factor defined in JScience library?

41 views Asked by At

JScience library implementation uses a set of values for converting units to each other. I am not sure they are defined as constants.

I would like to use my own conversion factor to convert meters to feet. Is there any way to accomplish that in JScience API?

Thanks

1

There are 1 answers

0
Werner Keil On

Consider using JSR-363, it went Final about a month ago, while JSR-275 never did. Extension modules like UoM-Systems help you to convert meters to feet, inch or other US Customary units. Let us know, either here or even better in the GitHub issue tracker(s) if there's something you're missing or you think does not work as intended.