Skip to content

Commit 2026886

Browse files
authored
🐛 Fix Length.Mile precision (#1187)
A mile is 1609.344 metres instead of 1609.34 metres, according to this Wikipedia article: https://en.wikipedia.org/wiki/Mile "The statute mile was standardised between the British Commonwealth and the United States by an international agreement in 1959, when it was formally redefined with respect to SI units as exactly 1,609.344 metres (1.609344 km)."
1 parent 2111636 commit 2026886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Common/UnitDefinitions/Length.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"BaseUnits": {
3737
"L": "Mile"
3838
},
39-
"FromUnitToBaseFunc": "{x} * 1609.34",
40-
"FromBaseToUnitFunc": "{x} / 1609.34",
39+
"FromUnitToBaseFunc": "{x} * 1609.344",
40+
"FromBaseToUnitFunc": "{x} / 1609.344",
4141
"Localization": [
4242
{
4343
"Culture": "en-US",

0 commit comments

Comments
 (0)