Skip to content
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

switch to Unitful.jl? #21

Open
tbenst opened this issue May 13, 2021 · 0 comments
Open

switch to Unitful.jl? #21

tbenst opened this issue May 13, 2021 · 0 comments

Comments

@tbenst
Copy link

tbenst commented May 13, 2021

From #14 (comment), I see that switching to Unitful.jl was once (still is?) considered. Barring that, I'm wondering if there's a way to convert eg mm into inches?

For example, with Unitful: uconvert(u"inch",183u"mm"), or simply import Unitful: mm, inch; uconvert(inch,183mm).

How to do this right now in case it helps a stray Julian:

using Measures, Unitful
W = 200mm
uconvert(u"inch",Quantity(W.value,u"mm"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant