ywana-core8 0.0.760 → 0.0.762
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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +6 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +6 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +4 -1
package/dist/index.modern.js
CHANGED
@@ -2183,7 +2183,12 @@ var NumberCellViewer = function NumberCellViewer(_ref7) {
|
|
2183
2183
|
}
|
2184
2184
|
} else {
|
2185
2185
|
var decimals = maxDecimals ? maxDecimals : 2;
|
2186
|
-
|
2186
|
+
|
2187
|
+
if (typeof value === "string") {
|
2188
|
+
value = parseFloat(value);
|
2189
|
+
}
|
2190
|
+
|
2191
|
+
return value && !isNaN(value) ? /*#__PURE__*/React.createElement("span", null, value.toFixed(decimals)) : "";
|
2187
2192
|
}
|
2188
2193
|
};
|
2189
2194
|
/**
|