修改數字輸出格式,直接輸出的
<td style="mso-number-format:''\@'';">' || NVL(L_H.E_NUMBER, ' ') ||
'</td>
如果在BI Pulbisher 報表Excel輸出社會安全號碼想不顯示科學計數法,可以通過修改定義 的rtf模板實現,具體如下:
找到社會安全號碼代碼,右鍵點擊屬性->添加協助文字,可看到在自動鍵入欄位的內容如下 :
<?NATIONAL_IDENTIFIER?>
將其修改為:
<fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><? NATIONAL_IDENTIFIER ?></fo:bidi-override>
在簡易的Jsp匯出html版本的execl中所有的檔案匯出預設都是文字檔,這給業務人員帶來了一些不必要的操作,建議使用下面的方法,可以調整匯出的格式類型.
|
mso-number-format:"0" |
NO Decimals |
|
mso-number-format:"0\.000" |
3 Decimals |
|
mso-number-format:"\#\,\#\#0\.000" |
Comma with 3 dec |
|
mso-number-format:"mm\/dd\/yy" |
Date7 |
|
mso-number-format:"mmmm\ d\,\ yyyy" |
Date9 |
|
mso-number-format:"m\/d\/yy\ h\:mm\ AM\/PM" |
D -T AMPM |
|
mso-number-format:"Short Date" |
01/03/1998 |
|
mso-number-format:"Medium Date" |
01-mar-98 |
|
mso-number-format:"d\-mmm\-yyyy" |
01-mar-1998 |
|
mso-number-format:"Short Time" |
5:16 |
|
mso-number-format:"Medium Time" |
5:16 am |
|
mso-number-format:"Long Time" |
5:16:21:00 |
|
mso-number-format:"Percent" |
Percent - two decimals |
|
mso-number-format:"0%" |
Percent - no decimals |
|
mso-number-format:"0\.E+00" |
Scientific Notation |
|
mso-number-format:"\@" |
Text |
|
mso-number-format:"\#\ ???\/???" |
Fractions - up to 3 digits (312/943) |
|
mso-number-format:"\0022£\0022\#\,\#\#0\.00" |
£12.76 |
|
mso-number-format:"\#\,\#\#0\.00_ \;\[Red\]\-\#\,\#\#0\.00\ " |
2 decimals, negative numbers in red and signed
(1.56 -1.56) |