hanleylee / hanleylee.com-comments

网站评论仓库
https://hanleylee.com
2 stars 0 forks source link

Swift 中如何避免精度丢失 | 闪耀旅途 #50

Open hanleylee opened 3 years ago

hanleylee commented 3 years ago

https://www.hanleylee.com/precision-loss-in-swift.html

如果你开发过涉及金额计算的 iOS app, 那么你很有可能经历过在使用浮点型数字时精度丢失的问题