乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      復(fù)制瀏覽器數(shù)據(jù)到excel中時較長數(shù)字串會變成科學(xué)計(jì)數(shù)法的解決辦法

       開啟美好每一天 2019-04-06

      不得不說excel有時候很頑固,總變不成自己想要的樣子。

      在做項(xiàng)目中,碰到如題的問題。比如要將居民的信息導(dǎo)出到excel中,居民的身份證號碼因?yàn)殚L度過長(大于10位),excel會自動的將過長的數(shù)字串轉(zhuǎn)換成 科學(xué)計(jì)數(shù)法。

      可以在身份證號碼前加單引號,但復(fù)制過去后單引號會被保留。其他在數(shù)字串前后加 " " 或' ' 或 tab等空白內(nèi)容都是行不通的,excel會自動去掉這些。除非你在數(shù)字串中間加,當(dāng)然這樣就不是我們要的結(jié)果了。

      終極解決方案:<td style="mso-number-format:'\@';">100821199909091234</td>

      增加了  style="mso-number-format:'\@';"  樣式后 可以解決 ,親測可行!

      另外網(wǎng)上有稱增加css樣式可行的,找了幾個試了下,沒找到正確的。

      其他自定義單元格格式 樣式

      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)

        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多