-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API to for From UnitSystem #1271
Comments
You can do If you create a unit system where However,
Some more details here: Personally, if I were to offer unit preferences in an application, I would probably create a custom mapping between SI base units and units in the quantities I care about. |
I am looking for an API to convert from one unit system to another. I expect I have not found the correct API?
What I would expect to see is:
I'm not entirely sure what the purpose of the nullable unit types for a given system are. My current code looks like:
however this does not extend so well to things like Pressure.
The text was updated successfully, but these errors were encountered: