decimal

Decimal library

A library for handling fixed-point decimal numbers with precise arithmetic and serialization/deserialization support.

Arbitrary-precision fixed-point decimal numbers in Go

GitHub

6k stars
70 watching
623 forks
Language: Go
last commit: 4 months ago
Linked from 2 awesome lists

bignumberdecimalsgogolangmoneyprecision

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
nikolaydubina/fpdecimal Provides a precise and efficient data type for fixed-point decimals in Go. 31
govalues/decimal An immutable decimal floating-point number type for financial calculations in Go. 94
db47h/decimal An arbitrary-precision decimal floating-point arithmetic package for Go 41
jackc/pgx-shopspring-decimal An implementation of a decimal data type in Go, designed to work with the Shopspring framework and PostgreSQL database. 9
nikolaydubina/fpmoney A Go library that provides a precise, float-free representation of financial amounts with support for fixed-point decimal arithmetic and ISO 4217 currency codes. 29
gonum/gonum A set of libraries for numerical computations in the Go programming language. 7,632
quagmt/udecimal A high-performance fixed-point decimal number library designed for financial applications 111
xxjwxc/gofal A Go library for performing precision arithmetic on fractions and supporting chain expressions 19
montanaflynn/stats A comprehensive statistics library package with no dependencies. 2,925
lillik/magento2-price-decimal A Magento 2 extension that allows configuring custom decimal precision for prices and currency values across multiple stores and websites. 109
teknologi-umum/decimal-clock An implementation of decimal time, allowing more straightforward interpretation and conversion of timestamps 19
tlikonen/cl-decimals A package that provides functions to parse and format decimal numbers in Common Lisp 21
davecgh/go-spew Provides a deep pretty printer for Go data structures to aid in debugging 6,089
govalues/money Provides immutable monetary amounts and exchange rates with high precision, optimized performance, and error handling for financial calculations. 21
mvdan/gofumpt A stricter Go formatting tool to enforce a more consistent coding style 3,339