Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/d3/d3-array
/ round
Function
round
test/blur-test.js:201–203 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
199
}
200
201
function
round(x) {
202
return
Math.round(x * 1000) / 1000 || 0;
203
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected