V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  miss61008596  ›  全部回复第 1 页 / 共 1 页
回复总数  1
2016 年 8 月 16 日
回复了 outlaws 创建的主题 JavaScript 为毛 JS 的浮点这么鬼畜的啊
c#的 decimal 和 Java 的 BigDecimal 之所以没有出现精度差异,只是因为在其内部作了相应处理,把这种精度差异给屏蔽掉了,

javascript decimal.js big.js

http://mikemcl.github.io/decimal.js/
http://mikemcl.github.io/big.js/

-勤于思,敏于行。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5312 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms · UTC 01:28 · PVG 09:28 · LAX 18:28 · JFK 21:28
♥ Do have faith in what you're doing.