|
@@ -1197,12 +1197,12 @@ func handleMixCellShowStyle(showStyleList []string, calculateCellMap map[string]
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- if styleConf.NumberStyle.AddPointNum != 0 {
|
|
|
+ if styleConf.Pn != 0 {
|
|
|
//val = CountDecimalPlaces(val)
|
|
|
- val = changePointDecimalPlaces(cell.ShowStyle, styleConf.NumberStyle.AddPointNum)
|
|
|
+ val = changePointDecimalPlaces(cell.ShowValue, styleConf.Pn)
|
|
|
}
|
|
|
- if styleConf.NumberStyle.IsPercent == 1 {
|
|
|
- val = changeToPercent(cell.ShowStyle)
|
|
|
+ if styleConf.Nt == "percent" {
|
|
|
+ val = changeToPercent(cell.ShowValue)
|
|
|
}
|
|
|
cell.ShowFormatValue = val
|
|
|
config[cellPosition.Column][cellPosition.Row] = cell
|