X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=node_modules%2Fgrunt-legacy-log%2Fnode_modules%2Flodash%2Fmath%2Fceil.js;fp=node_modules%2Fgrunt-legacy-log%2Fnode_modules%2Flodash%2Fmath%2Fceil.js;h=9dbf0c26dbe6c488739b14e2fa37067eb3e7cdbd;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/node_modules/grunt-legacy-log/node_modules/lodash/math/ceil.js b/node_modules/grunt-legacy-log/node_modules/lodash/math/ceil.js new file mode 100644 index 000000000..9dbf0c26d --- /dev/null +++ b/node_modules/grunt-legacy-log/node_modules/lodash/math/ceil.js @@ -0,0 +1,25 @@ +var createRound = require('../internal/createRound'); + +/** + * Calculates `n` rounded up to `precision`. + * + * @static + * @memberOf _ + * @category Math + * @param {number} n The number to round up. + * @param {number} [precision=0] The precision to round up to. + * @returns {number} Returns the rounded up number. + * @example + * + * _.ceil(4.006); + * // => 5 + * + * _.ceil(6.004, 2); + * // => 6.01 + * + * _.ceil(6040, -2); + * // => 6100 + */ +var ceil = createRound('ceil'); + +module.exports = ceil;