Aspose.Cells for Python via .NET - put_value(double_value)

Hi, I’m testing Aspose.Cells for Python via .NET version 23.1.0 and having problem with inserting double values with method

def put_value(self, double_value)

As a result all values are inserted but as integer. On the other hand I can use for double values

def put_value(self, string_value, is_converted)

and it will work, but it seems this is workaround?


We can repdouce the issue as you mentioned: double/float value is inserted as integer. We will log a ticket for you.

from aspose.cells import Workbook

# Create a new Workbook
workbook = Workbook()
# Get the first worksheet
worksheet = workbook.worksheets[0]
# Get the "A1" cell
cells = worksheet.cells
cell = cells.get("A1")
# Write value to  "A1" in the first sheet
# save this workbook to XLSX"output.xlsx")

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.


You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as CELLSPYTHONNET-116) have been fixed in aspose-cells-python 23.3 · PyPI.