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
>>> 1 kcal/mol -> eV
error: while type checking
┌─ <input:28>:1:1
│
1 │ 1 kcal/mol -> eV
│ ^^^^^^^^^^ -- ^^ Energy or Torque
│ │ │
│ │ incompatible dimensions in unit conversion
│ ChemicalPotential or MolarEnthalpyOfVaporization
│
= left hand side: Length² × Mass × Time⁻² × AmountOfSubstance⁻¹ [= ChemicalPotential, MolarEnthalpyOfVaporization]
right hand side: Length² × Mass × Time⁻² [= Energy, Torque]
Suggested fix: divide the expression on the right hand side by a `AmountOfSubstance` factor
The text was updated successfully, but these errors were encountered:
Thanks for your reply. This makes sense logically, but it might be difficult or unintuitive for beginners. However, the issue isn’t with numbat itself; rather, it is the longstanding, inconsistent conventions people have been using.
I don't have any idea how to improve this. Maybe some casting rules? Another example would be cm-1, which is widely used as an energy unit.
The kilocalorie per mole is a (kcal/mol) is a unit to measure an amount of energy per number of molecules, atoms, or other similar particles. (https://en.wikipedia.org/wiki/Kilocalorie_per_mole). This unit is commonly used in chemistry and biology. It will be convenient to convert it to other energy units like eV, something like http://wild.life.nctu.edu.tw/class/common/energy-unit-conv-table.html.
Currently, it is impossible to do the conversion:
The text was updated successfully, but these errors were encountered: