-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
I would have expected this expression to evaluate to a unitless value:
julia> using Unitful: s, Hz
julia> x = 10s * 2Hz
20 Hz sInstead, one has to do
julia> using Unitful: s, Hz
julia> x = uconvert(unit(1),10s * 2Hz)
20//1In small expressions this is plenty readable, but in large expressions it gets somewhat ugly. How feasible is that to change? I'd like this to work because then it becomes fairly natural to work with unitful values in larger expressions of unitless values. If this is a reasonable change, I'd be happy to create a pull request if I can be pointed in the right direction.
schneiderfelipeadkabo
Metadata
Metadata
Assignees
Labels
No labels