(core) Currency from grist column is persistent when exporting to excel

Summary:
- when grist table is exported, currency is check and introduced in cell format in the form of "[currency symbol] [value]" (for example: zł 10000, $ 5000) . It's not what some cultures should display currences, but it's close enought
- when no symbol is defined for the currency, currency 3 letters code is used instead
- when currency is unknown, we are falling back to "$"

Test Plan: - nbrowser test scenario added for that purpose, please check Currences.xlsx to see output format exported.

Reviewers: georgegevoian

Reviewed By: georgegevoian

Differential Revision: https://phab.getgrist.com/D3886
This commit is contained in:
Jakub Serafin
2023-05-05 11:34:12 +02:00
parent 8f34ba5157
commit 37347a79c0
5 changed files with 15 additions and 2 deletions

BIN
test/fixtures/docs/Currencies.grist vendored Normal file

Binary file not shown.