Specify European Currency Column #2827
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2827
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I am trying to generate an excel file in which a column should be treated as currency.
Now how can I specify column as European currency? Like European currency contains comma instead of decimal.
Example: 533.6 should be treated as 533,6
Thousands separator and decimal symbol are system settings. When exporting, use the normal en-US style (e.g.
#,##0
or#,##0.00
) and Excel automatically interprets the format using the regional settings. You can actually experiment by changing your system separators and watching Excel use the new settings.Unfortunately the Excel formats have no way of marking the regional settings of the computer that last saved the file.
Kindly tell me where do I specify the currency format for the column?
Remove
raw: true
. https://docs.sheetjs.com/docs/api/utilities#html-table-input -- for HTML tables,raw
keeps the raw HTML strings while the default tries to parse values