Skip to content

Commit f605e3e

Browse files
authored
Merge pull request #54 from joaocarmo/next
[Release] v1.2.1
2 parents aeccec0 + 0b0a7a7 commit f605e3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils/functions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const convertLength = (
5858
}
5959

6060
if (!useMetricUnits) {
61-
value = km * KM_PER_MI
61+
value = km / KM_PER_MI
6262
}
6363

6464
return parseInt(Math.ceil(value).toFixed(round), 10)

0 commit comments

Comments
 (0)