iliekturtles/uom

Change of base_unit of Ratio quantity

igiona opened this issue · 1 comments

igiona commented

Hi

I'm facing issues with the precision, because of the fact that uom stores the values in the base unit.

I see that you can change the ISQ units, but I need to change the base unit of the Ratio type to percentage and other SI units.
Is this feature supported? If yes, how can it be done?

Thank you
ig

Unfortunately, this isn't supported. In some future version of uom I plan to have types to allow you to store non-normalized units. For the time being there are no plans to allow for normalizing to an arbitrary unit.