那个是 formatter,只决定了显示成什么样子,或者说单元格的 text, 但是 单元格中实际保存的真实值还是 string 类型:
"5" : {
"style" : "__buiNum",
"formula" : "IF(E3<=0,0,IF(E3<=11,100,IF(E3>11,200,0)))"
},
"4" : {
"value" : "12",
"style" : "__buiglNum"
},
"9" : {
"value" : "12",
"style" : "__buiglNum"
},
需要改成:
"5" : {
"style" : "__buiNum",
"formula" : "IF(E3<=0,0,IF(E3<=11,100,IF(E3>11,200,0)))"
},
"4" : {
"value" : 12,
"style" : "__buiglNum"
},
"9" : {
"value" : 12,
"style" : "__buiglNum"
},
|