/** * Calculates the floor value of a given number up to a specified precision. * * @since 1.0.0 * * @param {number} value - The number to calculate the floor value of. * @param {number} [precision=0] - The number of decimal places to round down to. Defaults to 0. * @returns {number} - The floor value of the given number. * * @example * * floor(4.7); // => 4 * floor(-4.7); // => -5 * floor(4060, -2); // => 4000 * floor(0.046, 2); // => 0.04 */ declare const floor: (value: number, precision?: number) => number; export default floor;