I’ve tried defining two different monetary units using
using Unitful: @dimension, @refunit, @u_str, uconvert @dimension MU "MU" MonetaryUnit @refunit USD "USD" USDollar MU false @refunit EUR "EUR" Euro MU false
which unfortunately also results in an automatic conversion
uconvert(u"EUR", 1000u"USD") # 1000 EUR
What would be the proper way to define both
USD, to e.g. allow conversions from
"USD/hr", while making sure that any conversion switching between monetary units fails?