Bläddra i källkod

Merge branch 'hotfix/mix_excel_show' into debug

xyxie 1 år sedan
förälder
incheckning
d3dbf8e891
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      utils/config.go

+ 1 - 1
utils/config.go

@@ -133,7 +133,7 @@ func init() {
 
 // FormatMixTableDataShowValue 格式化自定表格显示数据
 func FormatMixTableDataShowValue(x float64) (res string) {
-	res = fmt.Sprint(x)
+	res = strconv.FormatFloat(x, 'f', -1, 64)
 	return
 }