This package browser is in early development. Mind the rough edges.

go-github-com-shopspring-decimal 1.4.0

Arbitrary-precision fixed-point decimal numbers in Golang

Package decimal implements an arbitrary precision fixed-point decimal. Features:

  • the zero-value is 0, and is safe to use without initialization

  • addition, subtraction, multiplication with no loss of precision

  • division with specified precision

  • database/sql serialization/deserialization

  • JSON and XML serialization/deserialization

Installation

Install go-github-com-shopspring-decimal 1.4.0 as follows:

guix install go-github-com-shopspring-decimal@1.4.0

Or install the latest version:

guix install go-github-com-shopspring-decimal

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.