Registry / utility / xuri-nfp

xuri-nfp

JSON →
library0.0.1gogounverified

Package nfp provides number formatting and parsing utilities for Go.

go get github.com/xuri/nfp
INSTALL
IMPORT
SIG · XURI-NFP
X
xuri-nfp
utilitygov0.0.1
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.

nfp
github.com/xuri/nfp

Format a number using a pattern

import "github.com/xuri/nfp" func main() { formatted := nfp.Format(1234.56, "#,##0.00") _ = formatted }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
xuri-nfp — go get xuri-nfp · libregistry