You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been able to add in several new units by going into the derived_unit.yaml adding them directly into it. I need to add a unit that is converted by adding a constant. I want to have psia = psig + 14.696. I have created psig based on the [psi] unit and it works. When I try to convert psig to psia I get the following:
I have been able to add in several new units by going into the derived_unit.yaml adding them directly into it. I need to add a unit that is converted by adding a constant. I want to have psia = psig + 14.696. I have created psig based on the [psi] unit and it works. When I try to convert psig to psia I get the following:
the definitition for psia and psig in derived_unit.yaml is
and my functions in functional.rb are
Is there something else that I need to add in to make sure that it is using the function properly? Or can you not add units that require functions?
The text was updated successfully, but these errors were encountered: