diff --git a/pyrcs/converter.py b/pyrcs/converter.py index 0ed72d0..89495c8 100644 --- a/pyrcs/converter.py +++ b/pyrcs/converter.py @@ -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