An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

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
Latest Release
v1.4.0
almost 2 years ago
Versions
7
Dependent Packages
10,733
Dependent Repos
36,577
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/shopspring/decimal
spec
License MIT
Namespace github.com/shopspring
First Release over 8 years ago
Last Synced about 5 hours ago
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%