1 var createRound = require('../internal/createRound');
4 * Calculates `n` rounded down to `precision`.
9 * @param {number} n The number to round down.
10 * @param {number} [precision=0] The precision to round down to.
11 * @returns {number} Returns the rounded down number.
23 var floor = createRound('floor');
25 module.exports = floor;