Sign in
◑
Theme
appsheet-third-party
/
d3
/
6776099c8c95cea146fb2400905ddd777fc31df1
/
.
/
src
/
format
/
precision.js
blob: 24e32a1e6d006a77d144263da5fce77f2c1479da [
file
]
function
d3_format_precision
(
x
,
p
)
{
return
p
-
(
x
?
Math
.
ceil
(
Math
.
log
(
x
)
/
Math
.
LN10
)
:
1
);
}