X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=node_modules%2Funcss%2Fnode_modules%2Flodash%2Fceil.js;fp=node_modules%2Funcss%2Fnode_modules%2Flodash%2Fceil.js;h=3c33db3e66f1bfb28af16c4b1ee8365e5275d1db;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/node_modules/uncss/node_modules/lodash/ceil.js b/node_modules/uncss/node_modules/lodash/ceil.js new file mode 100644 index 000000000..3c33db3e6 --- /dev/null +++ b/node_modules/uncss/node_modules/lodash/ceil.js @@ -0,0 +1,25 @@ +var createRound = require('./internal/createRound'); + +/** + * Computes `number` rounded up to `precision`. + * + * @static + * @memberOf _ + * @category Math + * @param {number} number 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;