source: imaps-frontend/node_modules/lodash-es/ceil.js

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 505 bytes
RevLine 
[d565449]1import createRound from './_createRound.js';
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
26export default ceil;
Note: See TracBrowser for help on using the repository browser.