source: imaps-frontend/node_modules/lodash/ceil.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 507 bytes
Line 
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.