解决导出excel时,如身份证等超长字符不以科学计数法法显示
<head>
<style type="text/css">
td {
background-color: #FFFFFF;
}
.txt
{padding-top:1px;
padding-right:1px;
padding-left:1px;
mso-ignore:padding;
color:black;
font-size:11.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:宋体;
mso-generic-font-family:auto;
mso-font-charset:134;
mso-number-format:"\@"; //关键是这里
text-align:general;
vertical-align:middle;
mso-background-source:auto;
mso-pattern:auto;
white-space:nowrap;}
</style>
</head>
<table>
<tr>
<td class = "txt">不想以科学计数法发显示内容</td>
</tr>
</table>