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

Trim trailing zero when formatting numbers #1760

Merged
merged 1 commit into from
Jan 17, 2019

Commits on Jan 17, 2019

  1. 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".
    stephanwlee committed Jan 17, 2019
    Configuration menu
    Copy the full SHA
    082ef73 View commit details
    Browse the repository at this point in the history