// $spreadsheet->getActiveSheet()->getStyle($jine_zm)->getNumberFormat()->setFormatCode('_("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)');//设置单元格为会计专用¥符号 // $spreadsheet->getActiveSheet()->getStyle($jine_zm)->getNumberFormat()->setFormatCode('_("€"* #,##0.00_);_("€"* \(#,##0.00\);_("€"* "-"??_);_(@_)');//设置单元格为会计专用€符号 $spreadsheet->getActiveSheet()->getStyle($jine_zm)->getNumberFormat()->setFormatCode('_(* #,##0.00_);_(* \(#,##0.00\);_(* "-"??_);_(@_)');//设置单元格为会计专用无符号
标签:jine,##,0.00,单元格,会计,专用,PHPExcel,格式 From: https://www.cnblogs.com/zhangyouwu/p/16743318.html