Skip to content

Commit 039e694

Browse files
authored
Update formula.js
Fixing the precision
1 parent 0ec9d68 commit 039e694

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

UnitConverter/formula.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -934,15 +934,15 @@ const convertionTerms = {
934934
'atomic-mass-unit': 1.204427330335e+23
935935
},
936936
'atomic-mass-unit': {
937-
kilogram: 1.6605401999999998e-27,
938-
gram: 1.6605401999999998e-24,
939-
milligram: 1.6605401999999998e-21,
940-
'metric-ton': 1.6605401999999998e-30,
941-
'long-ton': 1.6330034499999998e-30,
942-
'short-ton': 1.8307141999999998e-30,
943-
pound: 3.6607143999999996e-30,
944-
ounce: 5.857143039999999e-29,
945-
carrat: 8.301080399999999e-24,
937+
kilogram: 1.66054019e-27,
938+
gram: 1.66054019e-24,
939+
milligram: 1.66054019e-21,
940+
'metric-ton': 1.66054019e-30,
941+
'long-ton': 1.633003449e-30,
942+
'short-ton': 1.83071419e-30,
943+
pound: 3.66071439e-30,
944+
ounce: 5.857143039e-29,
945+
carrat: 8.30108039e-24,
946946
'atomic-mass-unit': 1
947947
}
948948
},

0 commit comments

Comments
 (0)