https://github.com/opencoff/go-currency
golang implementation of arbitrary precision currency
https://github.com/opencoff/go-currency
big-int currency golang
Last synced: 11 months ago
JSON representation
golang implementation of arbitrary precision currency
- Host: GitHub
- URL: https://github.com/opencoff/go-currency
- Owner: opencoff
- Created: 2018-02-28T22:26:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T22:29:20.000Z (over 8 years ago)
- Last Synced: 2025-04-01T11:08:58.740Z (about 1 year ago)
- Topics: big-int, currency, golang
- Language: Go
- Size: 2.93 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-currency - Currency implementation using big.Int
## What is it?
Currency implementation that uses atto-dollars (1e-18) as the basic
unit. All currency is normalized to atto-dollars for computation.
Computation uses big.Int.
## Notes
- The test cases cover the parsing and output only; I assume
big.Int covers the boring arithmetic tests.