WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

switch to Unitful.jl? #21

@tbenst

Description

@tbenst

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"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions