Repository Details
Shared by
HelloGitHub Rating
0 ratings
让 Swift 语言支持百分比类型,消除精度缺失的烦恼
Past 7 days Received -1 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周二 | 281 | — |
| 周三 | 281 | 0 |
| 周四 | 281 | 0 |
| 周五 | 280 | -1 |
| 周六 | 280 | 0 |
| 周日 | 280 | 0 |
| 周一 | 280 | 0 |
280
Stars
No
Chinese
Swift
Language
No
Active
5
Contributors
0
Issues
No
Organization
None
Latest
25
Forks
MIT
License
让 Swift 语言支持百分比类型,消除精度缺失的烦恼。示例代码:
```swift
import Percent
10% + 5.5%
//=> 15.5%
-10% / 2
//=> -5%
```
Included in:
Vol.43
Comments
Rating:
No comments yet