请问你这个 JSON 怎么生成的,是不是 json 文件在服务器和客户段传的时候出问题了?那个地方的公式是一个错误的公式:
IF(EFFECTIVENUM(AP72-AB74,IF((LEN(N74)-FIND(\".\",N74))=1,0.1,0.01))>0,\"+\"&(EFFECTIVENUM(AP72-AB74,IF((LEN(N74)-FIND(\".7474N74))=1,0.1,0.01))),EFFECTIVENUM(AP72-AB74,IF((LEN(N74)-FIND(\"N74))=1,0.1,0.01))))
去掉 \ 后:
IF(EFFECTIVENUM(AP72-AB74,IF((LEN(N74)-FIND(".",N74))=1,0.1,0.01))>0,"+"&(EFFECTIVENUM(AP72-AB74,IF((LEN(N74)-FIND(".7474N74))=1,0.1,0.01))),EFFECTIVENUM(AP72-AB74,IF((LEN(N74)-FIND("N74))=1,0.1,0.01))))
正确的公式:
=IF(EFFECTIVENUM(AP72-AB74,IF((LEN(N74)-FIND(".",N74))=1,0.1,0.01))>0,"+"&(EFFECTIVENUM(AP72-AB74,IF((LEN(N74)-FIND(".",N74))=1,0.1,0.01))),EFFECTIVENUM(AP72-AB74,IF((LEN(N74)-FIND(".",N74))=1,0.1,0.01))) |