Dispatch on physical quantity or creating distinct types that behave like a float

I’m not sure I exactly understood you needs, but did you check DynamicQuantities.jl ?

1 Like