mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 19:07:49 +00:00
Remove references to _.
This commit is contained in:
7
ceil.js
7
ceil.js
@@ -4,7 +4,6 @@ import createRound from './_createRound.js';
|
||||
* Computes `number` rounded up to `precision`.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 3.10.0
|
||||
* @category Math
|
||||
* @param {number} number The number to round up.
|
||||
@@ -12,13 +11,13 @@ import createRound from './_createRound.js';
|
||||
* @returns {number} Returns the rounded up number.
|
||||
* @example
|
||||
*
|
||||
* _.ceil(4.006);
|
||||
* ceil(4.006);
|
||||
* // => 5
|
||||
*
|
||||
* _.ceil(6.004, 2);
|
||||
* ceil(6.004, 2);
|
||||
* // => 6.01
|
||||
*
|
||||
* _.ceil(6040, -2);
|
||||
* ceil(6040, -2);
|
||||
* // => 6100
|
||||
*/
|
||||
const ceil = createRound('ceil');
|
||||
|
||||
Reference in New Issue
Block a user