mechanical-tolerance-calculator 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/Tolerances.json +800 -802
  2. package/index.js +3 -0
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -123,6 +123,9 @@ function checkOneMeasurementFor(materialType, measurement) {
123
123
  matchedSpec = spec;
124
124
  }
125
125
  });
126
+
127
+ const check = Number(matchedSpec.upper_deviation).toFixed(3);
128
+ console.log(check);
126
129
  }
127
130
  console.log(nominal);
128
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mechanical-tolerance-calculator",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Calculates international standard specification and tolerances for bores, round bars and metals of mechanical units. For examples; H7, H8, H9, h8, h9 specifications and IT5/IT6 tolerances.",
5
5
  "main": "index.js",
6
6
  "scripts": {