This commit is contained in:
Stephen Franceschelli
2019-07-15 14:26:50 -04:00
parent 7a5fe7d386
commit ea8812ffe3
7047 changed files with 1866386 additions and 95 deletions

26
node_modules/lodash/floor.js generated vendored Normal file
View File

@@ -0,0 +1,26 @@
var createRound = require('./_createRound');
/**
* Computes `number` rounded down to `precision`.
*
* @static
* @memberOf _
* @since 3.10.0
* @category Math
* @param {number} number The number to round down.
* @param {number} [precision=0] 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
*/
var floor = createRound('floor');
module.exports = floor;