ywana-core8 0.0.761 → 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 +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +5 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +5 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +3 -1
package/dist/index.umd.js
CHANGED
@@ -2184,7 +2184,11 @@
|
|
2184
2184
|
return /*#__PURE__*/React__default["default"].createElement("span", null, value);
|
2185
2185
|
}
|
2186
2186
|
} else {
|
2187
|
-
var decimals = maxDecimals ? maxDecimals : 2;
|
2187
|
+
var decimals = maxDecimals ? maxDecimals : 2;
|
2188
|
+
|
2189
|
+
if (typeof value === "string") {
|
2190
|
+
value = parseFloat(value);
|
2191
|
+
}
|
2188
2192
|
|
2189
2193
|
return value && !isNaN(value) ? /*#__PURE__*/React__default["default"].createElement("span", null, value.toFixed(decimals)) : "";
|
2190
2194
|
}
|