1.当事人赔(补)偿:人民币${=if(len(ds2.select(penalty))=0,"",ds2.select(penalty))}(${=
REPLACE(if(len(ds2.select(penalty))=0,"",CNMONEY(ds2.select(penalty))),"圆","元")});
参考这边文档:将数字转换成大写中文形式-https://help.fanruan.com/finereport/doc-view-3741.html
文本函数-https://help.fanruan.com/finereport/doc-view-824.html
主要是用公式
format()函数