source: trip-planner-front/node_modules/lodash/ceil.js@ eed0bf8

Last change on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 507 bytes
RevLine 
[6a3a178]1var createRound = require('./_createRound');
2
3/**
4 * Computes `number` rounded up to `precision`.
5 *
6 * @static
7 * @memberOf _
8 * @since 3.10.0
9 * @category Math
10 * @param {number} number The number to round up.
11 * @param {number} [precision=0] The precision to round up to.
12 * @returns {number} Returns the rounded up number.
13 * @example
14 *
15 * _.ceil(4.006);
16 * // => 5
17 *
18 * _.ceil(6.004, 2);
19 * // => 6.01
20 *
21 * _.ceil(6040, -2);
22 * // => 6100
23 */
24var ceil = createRound('ceil');
25
26module.exports = ceil;
Note: See TracBrowser for help on using the repository browser.