accounting:golang的货币和货币格式 源码
会计-golang的货币和货币格式 会计是用于货币和货币格式设置的库。 (受启发) 快速开始 go get github.com/leekchan/accounting example.go package main import ( "fmt" "math/big" "github.com/shopspring/decimal" "github.com/leekchan/accounting" ) func main () { ac := accounting. Accounting { Symbol : "$" , Precision : 2 } fmt . Println ( ac . FormatMoney ( 123456789.213123 )) // "$123,456,789.2
文件列表
accounting-master.zip
(预估有个19文件)
accounting-master
accounting15.go
465B
.travis.yml
456B
unformatnumber.go
1KB
accounting15_test.go
957B
unformatnumber_test.go
382B
locale.go
15KB
formatnumber15.go
384B
formatnumber.go
5KB
accounting.go
6KB
暂无评论