This function takes a value and converts units based on compound name.
Arguments
- value
Value to be converted
- formula
Chemical formula of compound. Accepts compounds in mweights for conversions between g and mol or eq
- startunit
Units of current value, currently accepts g/L; g/L CaCO3; g/L N; M; eq/L; and the same units with "m", "u", "n" prefixes
- endunit
Desired units, currently accepts same as start units