Registry / utility / cockroachdb-apd-v2

cockroachdb-apd-v2

JSON →
library2.0.2gogounverified

Package apd implements arbitrary-precision decimal arithmetic for high-precision financial and scientific calculations.

go get github.com/cockroachdb/apd/v2
INSTALL
IMPORT
SIG · COCKROACHDB-APD-V2
C
cockroachdb-apd-v2
utilitygov2.0.2
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.

apd
github.com/cockroachdb/apd/v2

Create a decimal from a string and print it.

package main import ( "fmt" "github.com/cockroachdb/apd/v2" ) func main() { d, _, _ := apd.NewFromString("123.456") fmt.Println(d) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
cockroachdb-apd-v2 — go get cockroachdb-apd-v2 · libregistry