Skip to content

Commit

Permalink
Modify kilometer_to_yard()
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeqfu committed Feb 2, 2023
1 parent 6892fc3 commit 994e9f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrcs/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,6 @@ def kilometer_to_yard(km):
1093.6132983377079
"""

yards = np.nan if km is None else km * 1093.6132983377079
yards = np.nan if km is None else float(km) * 1093.6132983377079

return yards

0 comments on commit 994e9f3

Please sign in to comment.