Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

19
node_modules/es-toolkit/dist/compat/math/floor.mjs generated vendored Normal file
View File

@@ -0,0 +1,19 @@
import { decimalAdjust } from "../_internal/decimalAdjust.mjs";
//#region src/compat/math/floor.ts
/**
* Computes number rounded down to precision.
*
* @param {number | string} number The number to round down.
* @param {number | string} precision The precision to round down to.
* @returns {number} Returns the rounded down number.
*
* @example
* floor(4.006); // => 4
* floor(0.046, 2); // => 0.04
* floor(4060, -2); // => 4000
*/
function floor(number, precision = 0) {
return decimalAdjust("floor", number, precision);
}
//#endregion
export { floor };