denoland / denoland/std

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

Open
#6,080 1 comment 1 reaction 0 assignees View on GitHub
csv suggestion
Dominant language
TypeScript
Stars
3.6k
Forks
681
PR merge metrics
No merged PRs in 30d

Description

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

![image](https://github.com/user-attachments/assets/3781f248-7a37-470a-a750-de9e5edc7a5e)

**Describe the solution you'd like**

A StringifyOption to disable scientific notation.

**Describe alternatives you've considered**

Using Big.js.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.