source: imaps-frontend/node_modules/lodash-es/divide.js@ d565449

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

Update repo after prototype presentation

  • Property mode set to 100644
File size: 489 bytes
Line 
1import createMathOperation from './_createMathOperation.js';
2
3/**
4 * Divide two numbers.
5 *
6 * @static
7 * @memberOf _
8 * @since 4.7.0
9 * @category Math
10 * @param {number} dividend The first number in a division.
11 * @param {number} divisor The second number in a division.
12 * @returns {number} Returns the quotient.
13 * @example
14 *
15 * _.divide(6, 4);
16 * // => 1.5
17 */
18var divide = createMathOperation(function(dividend, divisor) {
19 return dividend / divisor;
20}, 1);
21
22export default divide;
Note: See TracBrowser for help on using the repository browser.