Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 348 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 348 Bytes

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.