如何显示在Excel中长数字? [英] How to show long numbers in Excel?
本文介绍了如何显示在Excel中长数字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要建一个C#程序,使CSV文件,并把长的数字(如串在我的计划)。问题是,当我在Excel中打开该CSV文件中的数字显示是这样的:
I have to build a C# program that makes CSV files and puts long numbers (as string in my program). The problem is, when I open this CSV file in Excel the numbers appear like this:
1234E +或12345.6亿(数量到底是0)
1234E+ or 1234560000000 (the end of the number is 0)
如何保留号码的格式?如果我打开该文件为文本文件,数字格式正确无误。
How I retain the formatting of the numbers? If I open the file as a text file, the numbers are formatted correctly.
在此先感谢。
推荐答案
通过把一个'(撇号)前或作出一个公式出来的那些格式化长数字字符串:=1234567890123
Format those long numbers as strings by putting a ' (apostrophe) in front or making a formula out of it: ="1234567890123"
这篇关于如何显示在Excel中长数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文