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
Currently, this is intended behavior. Using / is reserved for the shorthand notation, and the full notation requires the word per instead.
So the two options are
qty("0", "ohm per ampere")
// or
qty("0", "O/A")
Now, whether that's sensible is another question. If you were confused by this, you're probably not the only one. I will consider changing this, and I'm open to pull requests.
If i wanted to create for example a unit
ohm/ampere
it doesn't workqty("0","ohm/ampere")
I have an error
Panicked with: "invalid unit: ohm"
But if i want to do them separately it works
qty("0","ohm")
qty("0","ampere")
The text was updated successfully, but these errors were encountered: