LendAndRegret/node_modules/es-toolkit/dist/compat/math/round.mjs
2026-05-02 17:27:43 +08:00

8 lines
180 B
JavaScript

import { decimalAdjust } from '../_internal/decimalAdjust.mjs';
function round(number, precision = 0) {
return decimalAdjust('round', number, precision);
}
export { round };