R3.2.3 / openxlsx 3.0.0
I have several data frames that I write to an Excel workbook using openxlsx. One of the data files contains values ββsuch as 0.07. Via
createStyle(numFmt='PERCENTAGE')
I get 7.00% as output in the book. So far, so good. But I want 7% as a way out. I tried several things like stack styles,
createStyle(numFmt=c('PERCENTAGE','0')) createStyle(numFmt='PERCENTAGE 0')
but they either lead to errors or give undesirable results. Any suggestion in the right direction would be very welcome. Upgrading to a newer version of openxlsx is not an option.
source share