excel icon indicating copy to clipboard operation
excel copied to clipboard

Currency cell type

Open DanielusG opened this issue 1 year ago • 2 comments

Hi, currently I find that the library works very well but I can't use it to store values of type currency in cells

1.200,00 € or 1200.00 $

is reported as a formatting error when the document is opened in Excel

image

The code used for the generation of the cell in excel:

sheet.insertRowIterables([
    TextCellValue("${currentWallet.toStringAsLocale(2)} €")
]);

And toStringAsLocal is a custom function that add group separation and the comma for italian locale

I am currently using the library in my code with the following import:

excel:
    git: https://github.com/justkawal/excel.git

DanielusG avatar Nov 11 '23 17:11 DanielusG

I also tried with custom format too, but seem it doesn't help.

any advice ?

uysuy avatar Dec 16 '23 10:12 uysuy

same problem here, please update or give advice to solve that, thanks

ProfZEA avatar Mar 14 '24 02:03 ProfZEA