We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Seems like it is reasonable, after all: d3/d3-path#10 (comment)
Proposed implementation:
function round(x, n) { return n == null ? Math.round(x) : Math.round(x * (n = Math.pow(10, n))) / n; }
The text was updated successfully, but these errors were encountered:
Not currently planning on doing this because it feels out of place in a number-formatting library.
Sorry, something went wrong.
mbostock
No branches or pull requests
Seems like it is reasonable, after all: d3/d3-path#10 (comment)
Proposed implementation:
The text was updated successfully, but these errors were encountered: