New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
currency formatting does not work #267
Comments
This is a problem for me as well. Really need this! |
Agreed! Would really love to see this 👍 |
+1 |
I had this same problem, you can solve with parseFloat |
There is no need to manually add to the string table anymore. Just assigning the |
I apologize for the bump and perhaps even tangent, but is it possible to combine the Intl object's properties to dynamically format currency based on locale and currency codes? I've tried to write to a some of the properties of the |
- updated SSF to 0.9.2 - XLSB style records and number format writing - CSV avoid parseFloat (fixes SheetJS#646 h/t @jabbermarky) - CSV recognize mac line ending (fixes SheetJS#648 h/t @charlesread) - BIFF2 format table refactored to align with SSF - BIFF5 image data exposure - SSF custom format auto table update (fixes SheetJS#267 h/t @Fangmingdu) - eslint more checks - browser test timeout extended to 10 seconds
I have cell configured as below
{v:1222.34, z: '$#,##0'}
And I used the write function to xlsx file.
It does not do any formatting. But it works fine for {v:12.34, z:'0.00%'}, with percentage.
I'm referring the library this way. http://oss.sheetjs.com/js-xlsx/xlsx.core.min.js
The text was updated successfully, but these errors were encountered: