Skip to content
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

csv.stringify StringifyOptions to output numbers in fixed point notation without trailing zeros #6080

Open
dandv opened this issue Sep 30, 2024 · 0 comments
Labels
csv suggestion a suggestion yet to be agreed

Comments

@dandv
Copy link

dandv commented Sep 30, 2024

When outputting CSV fields that are small numbers, the output can end up in scientific notation. This can confuse spreadsheet software.

image

Describe the solution you'd like

A StringifyOption to disable scientific notation.

Describe alternatives you've considered

Using Big.js.

@kt3k kt3k added suggestion a suggestion yet to be agreed csv labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
csv suggestion a suggestion yet to be agreed
Projects
None yet
Development

No branches or pull requests

2 participants