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 +1 -1
- package/dist/index.mjs +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/versions/1_0_53.md +1 -0
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
- Bug Fix: Added ability for Specification.ParseSpec() to handle comma (,) as decimal separator as well as point (.) as decimal separator
|