Heroman

导出EXCEL数据时防止数值变科学计数的办法

网上有很多说法,最简单直接正确的做法是判断一下是否为数值以及长度,然后给单元格加上以下CSS即可:

mso-generic-font-family:auto;   mso-font-charset:134;    mso-number-format:"\@";   mso-background-source:auto;   mso-pattern:auto;

这个办法我是从:http://www.cnblogs.com/joinger/articles/1322931.html 这个博客学的,感谢这位网友

发表于 2011-10-13 01:55  菩提树  阅读(869)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章:

  • 2021-11-19
  • 2022-12-23
  • 2022-01-17
  • 2021-12-12
  • 2022-01-11
  • 2022-12-23
猜你喜欢
  • 2021-12-23
  • 2022-03-03
  • 2021-11-19
  • 2021-12-01
  • 2022-02-20
  • 2022-01-07
相关资源
相似解决方案