人妻丰满熟妇AV无码片,岛国AV无码免费无禁网站,丰满岳乱妇一区二区三区,男插女高潮一区二区

導(dǎo)出 Excel 時候,設(shè)置數(shù)字單元格以字符串形式導(dǎo)出

技術(shù)分享 2019-10-01 00:00:00
當(dāng)單元格是數(shù)值時,如:100000000000000000000,導(dǎo)出的Excel顯示的是科學(xué)計數(shù)法,那如何轉(zhuǎn)換成字符串呢?請下以下方法:
在樣式表里添加:

.style0
{mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
mso-rotate:0;
mso-background-source:auto;
mso-pattern:auto;
color:windowtext;
font-size:12.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:宋體;
mso-generic-font-family:auto;
mso-font-charset:134;
border:none;
mso-protection:locked visible;
mso-style-name:常規(guī);
mso-style-id:0;}
td{mso-style-parent:style0; mso-number-format:"\@"; }



主要是:mso-number-format:"\@"; //設(shè)置其數(shù)值為默認(rèn)字符串
咨詢小瓶科技
咨詢我們
頂部