Replies: 1 comment 1 reply
-
In addition to the conversion factors, the bignumber arbirtrary precision capability of mathjs is used to convert the values to and from the SI units used for the calculations to reduce precision loss. As far as I can tell, UnitMath uses the javascript number type so there would be precision loss in switching to UnitMath. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was reading into the docs that EngineeringPaper.xyz is using mathjs for units handling, which it does very well. Nonetheless they have the intention to use UnitMath for units.
Since mathjs is very broad and does many other things besides units, you might consider using UnitMath.
https://github.com/ericman314/UnitMath
josdejong/mathjs#2081 (comment)
Beta Was this translation helpful? Give feedback.
All reactions