Sha256: ce24730eba575f2afb7dca7b70b8c30827c3bd90901cb9c9352a4083794787ff

Contents?: true

Size: 491 Bytes

Versions: 274

Compression:

Stored size: 491 Bytes

Contents

var createMathOperation = require('./_createMathOperation');

/**
 * Divide two numbers.
 *
 * @static
 * @memberOf _
 * @since 4.7.0
 * @category Math
 * @param {number} dividend The first number in a division.
 * @param {number} divisor The second number in a division.
 * @returns {number} Returns the quotient.
 * @example
 *
 * _.divide(6, 4);
 * // => 1.5
 */
var divide = createMathOperation(function(dividend, divisor) {
  return dividend / divisor;
}, 1);

module.exports = divide;

Version data entries

274 entries across 272 versions & 30 rubygems

Version Path
clapton-0.0.19 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/lodash/divide.js
immosquare-cleaner-0.1.49 node_modules/lodash/divide.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/lodash/divide.js
immosquare-cleaner-0.1.48 node_modules/lodash/divide.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.6 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/lodash/divide.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/lodash/divide.js