Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trim trailing zero when formatting numbers
d3.formatter now supports trim trailing zero with "~". For instance, number 0.1 used to result in "0.100" but now is "0.1". This does not affect numbers like "0.1234" and both formatter result in "0.123".
- Loading branch information