Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
118e320028
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/utils/convert.go

+ 1
- 0
app/utils/convert.go View File

@@ -271,6 +271,7 @@ func ByteToFloat64(bytes []byte) float64 {
}

func Float64ToStr(f float64) string {
f = float64(int(f*100)) / 100
return strconv.FormatFloat(f, 'f', 2, 64)
}
func Float64ToStrPrec1(f float64) string {


Loading…
Cancel
Save