@measurequick/measurequick-report-generator 1.2.97 → 1.2.98
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/package.json
CHANGED
|
@@ -149,7 +149,7 @@ export async function getReport(payload) {
|
|
|
149
149
|
else if (measurement.fixTo && typeof val == 'number') val = val.toFixed(measurement.fixTo);
|
|
150
150
|
if ((measurement.label == 'Ambient CO' || measurement.label == 'Return CO' || measurement.label == 'Supply CO') && !measurement.value) val = '0.0';
|
|
151
151
|
if (typeof val == 'number' || !isNaN(val)) val = val.toLocaleString("en-US");
|
|
152
|
-
else if (!isNaN(parseFloat(val)) val = parseFloat(val).toLocaleString("en-US");
|
|
152
|
+
else if (!isNaN(parseFloat(val))) val = parseFloat(val).toLocaleString("en-US");
|
|
153
153
|
form.getTextField(`Block${blockNum}-Row${rowNum}-Col2`).setText(`${val}`);
|
|
154
154
|
if (blockNum != 4) {
|
|
155
155
|
let rangeIcon = util.getRangeIcon(test, measurement.ref, embeddedIcons);
|