github.com/bufferx/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
over 5 years ago
v1.2.1
over 5 years ago
Versions
5
5
Dependent Packages
1
1
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/github.com/bufferx/decimal
spec |
| License | MIT |
| Namespace | github.com/bufferx |
| First Release | over 8 years ago |
| Last Synced | about 5 hours ago |
Repository
| Stars | 0 on GitHub |
| Forks | 0 on GitHub |
Rankings on proxy.golang.org
Overall
Top 7.0%
Dependent packages
Top 4.6%