Browse Source

小数变换

xyxie 1 year ago
parent
commit
998bf3cca3
1 changed files with 1 additions and 1 deletions
  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