Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/idank/explainshell
/ d3_format_precision
Function
d3_format_precision
explainshell/web/static/js/d3.v3.js:1984–1986 ·
view source on GitHub ↗
(x, p)
Source
from the content-addressed store, hash-verified
1982
}
1983
});
1984
function
d3_format_precision(x, p) {
1985
return
p - (x ? Math.ceil(Math.log(x) / Math.LN10) : 1);
1986
}
1987
function
d3_format_typeDefault(x) {
1988
return
x +
""
;
1989
}
Callers
1
d3.v3.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected