소스 검색

小数变换

xyxie 1 년 전
부모
커밋
998bf3cca3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/data/excel/mixed_table.go

+ 1 - 1
services/data/excel/mixed_table.go

@@ -1211,7 +1211,7 @@ func handleMixCellShowStyle(showStyleList []string, calculateCellMap map[string]
 				val = changePointDecimalPlaces(cell.ShowValue, styleConf.Pn)
 			}
 			if styleConf.Nt == "percent" {
-				val = changeToPercent(cell.ShowValue)
+				val = changeToPercent(val)
 			}
 			cell.ShowFormatValue = val
 			config[cellPosition.Column][cellPosition.Row] = cell