@univerjs/engine-formula 0.10.14-nightly.202511070640 → 0.10.14-nightly.202511070939
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/lib/cjs/index.js +2 -2
- package/lib/es/index.js +1 -6
- package/lib/index.js +1 -6
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/lib/es/index.js
CHANGED
|
@@ -30329,12 +30329,7 @@ class lb extends V {
|
|
|
30329
30329
|
if (c.isBoolean())
|
|
30330
30330
|
return c;
|
|
30331
30331
|
let d = c.getValue();
|
|
30332
|
-
|
|
30333
|
-
if (!W(d))
|
|
30334
|
-
return c;
|
|
30335
|
-
d = Number(d);
|
|
30336
|
-
}
|
|
30337
|
-
h.isNull() && (h = j.create(" "));
|
|
30332
|
+
c.isNull() && (d = 0), c.isString() && W(d) && (d = Number(d)), h.isNull() && (h = j.create(" "));
|
|
30338
30333
|
const _ = `${h.getValue()}`, C = qa(_, d);
|
|
30339
30334
|
return j.create(_ === " " ? C.trimEnd() : C);
|
|
30340
30335
|
});
|
package/lib/index.js
CHANGED
|
@@ -30329,12 +30329,7 @@ class lb extends V {
|
|
|
30329
30329
|
if (c.isBoolean())
|
|
30330
30330
|
return c;
|
|
30331
30331
|
let d = c.getValue();
|
|
30332
|
-
|
|
30333
|
-
if (!W(d))
|
|
30334
|
-
return c;
|
|
30335
|
-
d = Number(d);
|
|
30336
|
-
}
|
|
30337
|
-
h.isNull() && (h = j.create(" "));
|
|
30332
|
+
c.isNull() && (d = 0), c.isString() && W(d) && (d = Number(d)), h.isNull() && (h = j.create(" "));
|
|
30338
30333
|
const _ = `${h.getValue()}`, C = qa(_, d);
|
|
30339
30334
|
return j.create(_ === " " ? C.trimEnd() : C);
|
|
30340
30335
|
});
|