Skip to content
New issue

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

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

Already on GitHub? # to your account

NP.plus(2.018, 0.001) #1

Closed
lildemon opened this issue Oct 15, 2017 · 1 comment
Closed

NP.plus(2.018, 0.001) #1

lildemon opened this issue Oct 15, 2017 · 1 comment

Comments

@lildemon
Copy link

NP.plus(2.018, 0.001)
2.0189999999999997

原因是 > 2.018 * 1000
2017.9999999999998

所以简单的乘以10的n次方不能覆盖所有情况..

@jiangtao
Copy link
Contributor

恩 可以fix的

camsong added a commit that referenced this issue Oct 15, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants