Skip to content

Commit ebad449

Browse files
JeffFesslersostock
andauthored
Fix convfact documentation (#571)
* Fix `convfact` documentation * Update src/conversion.jl Co-authored-by: Sebastian Stock <42280794+sostock@users.noreply.github.com> * Add comma after e.g. Co-authored-by: Sebastian Stock <42280794+sostock@users.noreply.github.com>
1 parent 4edb83a commit ebad449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/conversion.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
convfact(s::Units, t::Units)
3-
Find the conversion factor from unit `t` to unit `s`, e.g. `convfact(m,cm) = 0.01`.
3+
Find the conversion factor from unit `t` to unit `s`, e.g., `convfact(m,cm) == 1//100`.
44
"""
55
@generated function convfact(s::Units, t::Units)
66
sunits = s.parameters[1]

0 commit comments

Comments
 (0)