|
|
@ -5,15 +5,15 @@
|
|
|
|
📦 Golang 小数点处理
|
|
|
|
📦 Golang 小数点处理
|
|
|
|
|
|
|
|
|
|
|
|
[comment]: <> (go)
|
|
|
|
[comment]: <> (go)
|
|
|
|
[![godoc](https://pkg.go.dev/badge/github.com/dtapps/godecimal?status.svg)](https://pkg.go.dev/github.com/dtapps/godecimal)
|
|
|
|
[![godoc](https://pkg.go.dev/badge/go.dtapp.net/godecimal?status.svg)](https://pkg.go.dev/go.dtapp.net/godecimal)
|
|
|
|
[![goproxy.cn](https://goproxy.cn/stats/github.com/dtapps/godecimal/badges/download-count.svg)](https://goproxy.cn/stats/github.com/dtapps/godecimal)
|
|
|
|
[![goproxy.cn](https://goproxy.cn/stats/go.dtapp.net/godecimal/badges/download-count.svg)](https://goproxy.cn/stats/go.dtapp.net/godecimal)
|
|
|
|
[![goreportcard.com](https://goreportcard.com/badge/github.com/dtapps/godecimal)](https://goreportcard.com/report/github.com/dtapps/godecimal)
|
|
|
|
[![goreportcard.com](https://goreportcard.com/badge/go.dtapp.net/godecimal)](https://goreportcard.com/report/go.dtapp.net/godecimal)
|
|
|
|
[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/github.com%2Fdtapps%2Fgodecimal)
|
|
|
|
[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/go.dtapp.net%2Fgodecimal)
|
|
|
|
|
|
|
|
|
|
|
|
#### 安装
|
|
|
|
#### 安装
|
|
|
|
|
|
|
|
|
|
|
|
```go
|
|
|
|
```go
|
|
|
|
go get -v -u github.com/dtapps/godecimal
|
|
|
|
go get -v -u go.dtapp.net/godecimal
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
#### 使用
|
|
|
|
#### 使用
|
|
|
@ -22,7 +22,7 @@ go get -v -u github.com/dtapps/godecimal
|
|
|
|
package main
|
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
import (
|
|
|
|
"github.com/dtapps/godecimal"
|
|
|
|
"go.dtapp.net/godecimal"
|
|
|
|
"log"
|
|
|
|
"log"
|
|
|
|
"reflect"
|
|
|
|
"reflect"
|
|
|
|
)
|
|
|
|
)
|
|
|
|