github.com/shopspring/decimal
Package decimal implements an arbitrary precision fixed-point decimal. The zero-value of a Decimal is 0, as you would expect. The best way to create a new Decimal is to use decimal.NewFromString, ex: To use Decimal as part of a struct: Note: This can "only" represent numbers with a maximum of 2^31 digits after the decimal point.
Ecosystem
proxy.golang.org
proxy.golang.org
Latest Release
almost 2 years ago
v1.4.0
almost 2 years ago
Versions
7
7
Dependent Packages
10,733
10,733
Dependent Repos
36,577
36,577
Loading...
Readme
Loading...
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
Repository
| Stars | 6,922 on GitHub |
| Forks | 647 on GitHub |
| Docker Dependents | 5,917 |
| Docker Downloads | 24,677,793,024 |
| Commits | 168 |
| Committers | 68 |
| Avg per Author | 2.471 |
| DDS | 0.815 |
Rankings on proxy.golang.org
Overall
Top 0.4%
Dependent packages
Top 0.1%
Dependent repos
Top 0.1%
Forks
Top 1.2%
Docker downloads
Top 0.1%