소스 검색

Merge branch 'hotfix/mix_table_show' into debug

xyxie 1 년 전
부모
커밋
6c95780b3a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      utils/common.go

+ 1 - 1
utils/common.go

@@ -2095,7 +2095,7 @@ func GetPredictEdbDayListByNum(startDate time.Time, num int, frequency string) (
 
 // FormatMixTableDataShowValue 格式化自定表格显示数据
 func FormatMixTableDataShowValue(x float64) (res string) {
-	res = fmt.Sprint(x)
+	res = strconv.FormatFloat(x, 'f', -1, 64)
 	return
 }