Changing the basic type of a Unitful quantity

Hi!

It seems that convert(Quantity{T}, x) instead of T(x) does what you need.

1 Like