Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG]Find a bug 科学计数法转换有问题 #1181

Open
yooki0328 opened this issue Oct 14, 2022 · 0 comments
Open

[BUG]Find a bug 科学计数法转换有问题 #1181

yooki0328 opened this issue Oct 14, 2022 · 0 comments

Comments

@yooki0328
Copy link

luckysheet使用了 numeral库 将字符串转为数字
但是这个库在转换科学计数的时候会有bug,参考链接如下。
adamwdraper/Numeral-js#757
错误的表现形式为:
3.12e-06 ===> 0.00000312 正常
3.12E-06 ===> -3.1206 错误

希望官方能尽快update这个问题

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant