I am having trouble writing the currency symbol I want in my currency values โโwith xlsxwriter .
I followed the tutorial here , and I can write out currency values โโwith the correct formatting and dollar sign (either from the lesson or from the excel default settings I'm not sure).
It works:
money = workbook.add_format({'num_format':'$#,##0.00'})
And he prints the value of the currency with a dollar sign.
$1,000.00
But if I try to insert my own currency, say R :
money = workbook.add_format({'num_format':'R#,##0.00'})
I get this:
R1000
How to set currency symbol using xlsxwriter?
python excel currency number-formatting xlsxwriter
Niel
source share