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