How to show long numbers in Excel?

后端 未结 5 1574
太阳男子
太阳男子 2020-12-14 22:57

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

5条回答
  •  清歌不尽
    2020-12-14 23:50

    You can't. Excel stores numbers with fifteen digits of precision. If you don't mind not having the ability to perform calculations on the numbers from within Excel, you can store them as Text, and all of the digits will display.

提交回复
热议问题