本文介绍了数字角度的错误计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
In angular 6 i am getting the invalid values when adding the large value numbers.
Is there any solution around this to handle large numbers for addition, comparison, etc?
我尝试过:
What I have tried:
9007199254740992==9007199254740993
o/p = true
9007199254740992+0.98
o/p = 9007199254740992
推荐答案
这篇关于数字角度的错误计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!