I can not enter a large decimal number in Excel
source link: https://www.codesd.com/item/i-can-not-enter-a-large-decimal-number-in-excel.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
I can not enter a large decimal number in Excel
I am using Python and I use this method to enter numbers in an Excel sheet:
file_loc = "C:/Users/mahmoud/Desktop/Book1.xlsx"
new_sheet = pyexcel.get_sheet(file_loc)
new_sheet.row += [2, 'Series2', 'Possible', 25.00000000000000004, 0]
new_sheet.save_as(file_loc)
My problem is that it doesn't enter 25.00000000000000004
in the Excel sheet but when I open it enters 25
instead. But when I decrease the number of decimal points a bit to 25.000004
it enters it normally as it is.
Is there a way I can enter 25.00000000000000004
in the Excel sheet as it is so that I can use it later?
Based on excel's specification, the number precision is limited to 15 digits. The number you listed has 18 digits of precision.
https://support.office.com/en-nz/article/Excel-specifications-and-limits-1672b34d-7043-467e-8e27-269d656771c3
Related Articles
How to convert a very large decimal number into a factorial number system?
how to check that this user can not enter more than one decimal point or point in the html web page
Can not enter the Python entry widget
Python Pandas to_pickle can not take off large images of data
Silverlight: Can not Enter Russian Text in a TextBox
can not enter data in dataoutputstream
Selenium can not find fields with type number
Why the garbage value can not act as a random number?
Bash: Can not enter if even the condition is true
Can not enter ssh in instance created in eucalyptus
You can not enter more than two digits with the Enter Number from button
The file is too large I can not enter my php program
How can I convert very large decimal numbers to binary in Java
Error in sample.int (m, k): can not take a larger sample than the population
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK