Answer the question
In order to leave comments, you need to log in
How to make a cell numeric using openpyxl?
I do it like this:
ws.cell(row=rowlist[int(data['orgid'])], column=4+4*int(data['orgid'])).number_format = '0.00'
d = ws.cell(row=rowlist[int(data['orgid'])], column=4+4*int(data['orgid']), value=data['price'])
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question