阅读背景:

是否有javascript浮点错误的明确解决方案?

来源:互联网 

I write line of business applications. I'd like to build a front-end end using Javascript and am trying to figure out how to deal with, for a business user, are floating point errors (I understand from a computer science perspective they might not be considered errors). I've read plenty on this and seen all kinds of rounding hacks that work on examples given but seem prone to break down unexpectedly. Is there a definitive way to do decimal math in javascript?I write line of business applications. I'd like




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: