SheetConverter icon indicating copy to clipboard operation
SheetConverter copied to clipboard

Bug: wrong conversion when numbers are formatted as currency

Open micheledallatorre opened this issue 7 years ago • 1 comments

Hello, I am using a QUERY() function to create a tablet in a sheet that is then sent via email using Google Apps Scripts with your library.

When the numbers are formatted as currency (e.g. €), the email with the table is wrong. In particular, all the numbers have €-2 prepended.

For example € 2 (as seen in the spreadsheets) becomes € -220 (in the email receveid) and so on.

micheledallatorre avatar Sep 11 '17 10:09 micheledallatorre

Nowadays Apps Script include getDisplayValues(). I'm using it instead of getNumberFormats().

rubenrivera avatar Jul 26 '18 03:07 rubenrivera