v1.0 with SW PWA enabled
This commit is contained in:
6
frontend/node_modules/d3-format/src/precisionRound.js
generated
vendored
Normal file
6
frontend/node_modules/d3-format/src/precisionRound.js
generated
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
import exponent from "./exponent.js";
|
||||
|
||||
export default function(step, max) {
|
||||
step = Math.abs(step), max = Math.abs(max) - step;
|
||||
return Math.max(0, exponent(max) - exponent(step)) + 1;
|
||||
}
|
||||
Reference in New Issue
Block a user