Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

精度处理异常 #46

Closed
Arweil opened this issue Nov 1, 2018 · 3 comments
Closed

精度处理异常 #46

Arweil opened this issue Nov 1, 2018 · 3 comments

Comments

@Arweil
Copy link

Arweil commented Nov 1, 2018

transform percent
image

@leungwensen
Copy link
Member

这是 js 的问题,你可以再执行一个 map transform,用 toFixed 处理一下数字精度

@Arweil
Copy link
Author

Arweil commented Nov 2, 2018

所以在使用类似饼状图并且使用transform percent的时候,必须使用transform map方法进行tofixed精度处理。
是否可以在transform percent的API中加入精度处理。

@yangwe1
Copy link

yangwe1 commented Apr 29, 2024

这是 js 的问题,你可以再执行一个 map transform,用 toFixed 处理一下数字精度

感谢,那#94 也可以这样曲线救国

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

No branches or pull requests

3 participants