7 lines
204 B
Plaintext
7 lines
204 B
Plaintext
// If this number is a decimal, make it just five decimal places
|
|
// to avoid exponents
|
|
const sanitize = (v) => Math.round(v * 100000) / 100000;
|
|
|
|
export { sanitize };
|
|
//# sourceMappingURL=sanitize.mjs.map
|