Registry / utility / otiai10-curr

otiai10-curr

JSON →
library1.0.0gogounverified

A Go library for currency conversion and formatting.

go get github.com/otiai10/curr
INSTALL
IMPORT
SIG · OTIAI10-CURR
O
otiai10-curr
utilitygov1.0.0
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.

curr
github.com/otiai10/curr

Formats a number as a currency string.

package main import ( "fmt" "github.com/otiai10/curr" ) func main() { fmt.Println(curr.Format(1234.56, "USD")) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
otiai10-curr — go get otiai10-curr · libregistry