This package enables conversion of Unitful types into UnitTypes for units whose unit symbols are identical. See UnitTypes for more information.
using Unitful
using UnitTypes, ExchangeUnitful
@show 1u"m" + Meter(3)
#convert into UnitTypes
@show convert(Meter, 1.2u"m")
@show convert(Meter, 1.2u"mm")
#convert into Unitful
@show convert(typeof(1u"m"), Millimeter(1.2))
@show convert(typeof(1u"m"), Meter(1.2))
Copyright (c) 2023 - Mechanomy LLC
Released under MIT.