Registry / utility / ericlagergren-decimal

ericlagergren-decimal

JSON →
librarygogounverified

Package decimal provides a high-performance, arbitrary precision, floating-point decimal library for Go.

go get github.com/ericlagergren/decimal
INSTALL
IMPORT
SIG · ERICLAGERGREN-DECI
E
ericlagergren-decimal
utilitygo
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

decimal
✓ github.com/ericlagergren/decimal

Perform arbitrary-precision decimal division.

package main import ( "fmt" "github.com/ericlagergren/decimal" ) func main() { a := decimal.New(10, 2) b := decimal.New(3, 0) c := new(decimal.Big).Quo(a, b) fmt.Println(c) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
ericlagergren-decimal — go get ericlagergren-decimal · libregistry