diff --git a/src/conversion.jl b/src/conversion.jl index 4034ca0c..a1a8bddf 100644 --- a/src/conversion.jl +++ b/src/conversion.jl @@ -1,6 +1,6 @@ """ convfact(s::Units, t::Units) -Find the conversion factor from unit `t` to unit `s`, e.g. `convfact(m,cm) = 0.01`. +Find the conversion factor from unit `t` to unit `s`, e.g., `convfact(m,cm) == 1//100`. """ @generated function convfact(s::Units, t::Units) sunits = s.parameters[1]