@fileverse-dev/dsheet 1.2.86 → 1.2.87
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.es.js +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -234758,6 +234758,7 @@ const RMt = ({
|
|
|
234758
234758
|
if (c[q], !j.v.baseValue) continue;
|
|
234759
234759
|
j.v = typeof j.v == "string" ? j.v : { ...c[q].v };
|
|
234760
234760
|
const N = (m = (v = j.v) == null ? void 0 : v.m) == null ? void 0 : m.toString(), P = (p = (h = j.v) == null ? void 0 : h.m) != null && p.includes(".") ? (w = (g = (b = (d = j.v) == null ? void 0 : d.m) == null ? void 0 : b.split(" ")[0]) == null ? void 0 : g.split(".")[1]) == null ? void 0 : w.length : 0, A = (k = (x = j.v) == null ? void 0 : x.m) == null ? void 0 : k.split(" ")[1], _ = LMt[A], D = (L = t.current[_]) == null ? void 0 : L[(T = j.v) == null ? void 0 : T.baseCurrency];
|
|
234761
|
+
if (!D) return;
|
|
234761
234762
|
j.v.m = N.replace(
|
|
234762
234763
|
/\d+(\.\d+)?/,
|
|
234763
234764
|
(Number((S = j.v) == null ? void 0 : S.v) / D).toFixed(P).toString()
|