qesuite 1.0.52 → 1.0.53

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.
package/dist/index.js CHANGED
@@ -134,7 +134,7 @@ var Specification = class {
134
134
  full_tolerance;
135
135
  // methods
136
136
  ParseSpec(spec) {
137
- let string = spec;
137
+ let string = spec.replace(/\,/g, ".");
138
138
  let nominal;
139
139
  let USL;
140
140
  let LSL;
package/dist/index.mjs CHANGED
@@ -42,7 +42,7 @@ var Specification = class {
42
42
  full_tolerance;
43
43
  // methods
44
44
  ParseSpec(spec) {
45
- let string = spec;
45
+ let string = spec.replace(/\,/g, ".");
46
46
  let nominal;
47
47
  let USL;
48
48
  let LSL;
package/index.ts CHANGED
@@ -50,7 +50,7 @@ export class Specification{
50
50
  ParseSpec(spec: string) {
51
51
  // This function parses specs and returns an array of values, in this order:
52
52
  // Nominal, USL, LSL, Units, Tolerance(if UT and LT differ then {UT, LT})
53
- let string = spec;
53
+ let string = spec.replace(/\,/g, ".");
54
54
  let nominal;
55
55
  let USL;
56
56
  let LSL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qesuite",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "description": "Performs advanced statistical analysis of data. Specifically designed for engineering statistical analysis",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -0,0 +1 @@
1
+ - Bug Fix: Added ability for Specification.ParseSpec() to handle comma (,) as decimal separator as well as point (.) as decimal separator